@Renato Pereira Thanks for posting in our Q&A.
Based on my research, if set the setting "Accounts" to block under Control Panel and Settings in Device restriction policy, it will prevent access to the Accounts area of the Settings app on the device.
https://learn.microsoft.com/en-us/mem/intune/configuration/device-restrictions-windows-10#control-panel-and-settings
Hope it is what you want.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.