Hi,
If you're trying to exit S mode and can't, see this link:
First, create a restore point:
Press the start menu > settings > system > about > system protection > create and give it a name you want.
If that fails, and you're using an Intune-linked account, you need to follow the Q&A procedure. If it's a home account, try removing it in offline mode.
Go to Settings > System > Recovery.
Under Advanced startup, click Restart now.
Navigate to Troubleshoot > Advanced options > Command Prompt.
Type regedit and press Enter.
Select HKEY_LOCAL_MACHINE, then click File > Load Hive.
Navigate to C:\Windows\System32\config, select the SYSTEM file, and click Open.
Launch the offline hive.
Navigate to: HKEY_LOCAL_MACHINE\offline\ControlSet001\Control\CI\Policy.
Double-click on SKUPolicyRequired and change the value from 1 to 0.
Select the offline hive, click File > Download Hive, close Regedit/Command Prompt, and restart your PC.
Credits: https://www.reddit.com/r/computerhelp/comments/1qspg3y/help_i_cant_escape_s_mode/?tl=pt-pt
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
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.
Thanks