@Ilazdin , For your question, my answer is the setting will not reset. It will kept as PIN code. In General, the settings in the profiles except Wi-Fi, VPN, certificate, and email profile will not removed from the Android device when we delete a profile or remove the device. To change back, we can manually change it. Or deploy a profile to these device with the setting you want if the setting is included in Intune. To see more details, we can read the following link:
https://learn.microsoft.com/en-us/mem/intune/configuration/device-profile-troubleshoot#what-happens-when-a-profile-is-deleted-or-no-longer-applicable
If the response is helpful, please click "Accept Answer" and upvote it.
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.