@Ahmad Zein Thanks for posting in our Q&A.
For this issue, there is no method to prevent users from ignoring the "Allow my organization to manage my device" prompt. If the device is not enrolled to intune and try to access the corporate resource, CA policy with compliance policy will block it, ask the device to be enrolled and marked as compliant. It is by design.
Hope it clarify something.
If the answer is helpful, 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.