On most modern Windows 11 PCs, F8 Safe Mode usually won’t work, so use Windows Recovery Environment instead: from the sign-in screen, click the Power icon, then hold Shift and select Restart > Troubleshoot >Advanced options >Startup Settings >Restart >press 4 (Safe Mode).
If you can still sign in to any remaining account, once you’re in Windows you can add or switch an account back to Administrator via Settings > Accounts > Other users (Change account type).
If you cannot sign in at all, go back to Advanced options and open Command Prompt, then run: net user Administrator /active:yes and restart