When this menu shows up, click on it and select Troubleshoot > Advanced Options > Automatic (System) Repair. To launch the Windows startup repair menu, all you need do is to use the power button and restart the computer continuously until you see the Advanced Menu option. Then select a restore point and roll back your PC settings. So, boot the computer to Safe Mode, locate the 'Recovery' option, and select 'Open System Restore'. However, running System Restore has to be done from Safe Mode, as you cannot access the PC settings.
Restoring your PC to a previous restore point can help to deactivate current settings that may have caused the freezing of Windows 10. If the trick shared above doesn’t work, then this one should work. So, if your PC didn't freeze or stop after booting to Safe Mode, you can reboot it normally and see if the problem is solved. When you boot to Safe Mode, it deactivates custom settings on the PC, leaving the core one required for Windows to run. Booting to Safe Mode and then rebooting normally has been confirmed by most people as a way to solve the 'Windows 10 stuck on login screen' issue. Sometimes, if a Windows update fails to install completely, it could cause your PC to freeze or function abnormally.