When your PC awakes from sleep mode, you may still see the login screen.First of all, Open RUN like before.
Type gpedit.msc and press enter. It will open windows group policy editor
– Go to Computer Configuration
– Administrative Templates
– Control Panel and
– Press ok
– Run gpupdate /force
Alternatively, you can sign-out and resign-in to have the policy applied.
– Take a look on how to disable your lock screen (login password) via the command prompt (user account settings), see https://techdirectarchive.com/2019/11/24/remove-disable-your-login-password-from-windows/
– On how to disable Lock Screen on Windows 10 via Registry Editor, see https://techdirectarchive.com/2020/02/08/how-to-disable-lock-screen-on-windows-10-via-registry-editor/