@Tushar Kanojiya Thanks for posting in our Q&A.
For this issue, if you deploy a screen lock profile via intune, why don't you view report under this target profile? It will show if the devices are successfully applied this profile.
Honestly, I didn't find an api that can monitor whether screen lock is enabled on devices. Let's wait if someone else can share more helpful information.
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.