@A.Elrayes Thanks for posting in our Q&A.
For Windows devices, we usually use BitLocker policy to encrypt devices.
https://learn.microsoft.com/en-us/mem/intune/protect/encrypt-devices
For MacOS devices, we usually use FileVault policy to encrypt devices.
https://learn.microsoft.com/en-us/mem/intune/protect/encrypt-devices-filevault
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.