You can configure Windows 10 to lock the screen after a certain time of inactivity, display the screen saver and prompt user to enter a password to log in to the system. The password on the Windows 10 lock screen won’t allow an unauthorized person to access your device when you are not nearby. To remove the lock screen and log in to the computer, you must enter the correct password, PIN, or graphical key. A computer or tablet with Windows 10 displays a lock screen when it resumes from sleep or hibernation, or after a specified period of user inactivity (the keyboard and mouse are not used).
How to Put Password on Lock Screen on Windows 10?
To request a password on the lock screen, a password for your account must be set. You can set a password in Settings > Accounts > Sign-in options. You can set one of the following password options: classic password, PIN, or pattern. Also, make sure the Require sign-in parameter is set to When PC wakes up from sleep.
In Windows 10 1703 and higher, the new Dynamic Lock feature appeared. When you turn on the “Allow Windows to your device when you’re away” option, Windows 10 can be locked with a password while the user moves away from computer with a synced smartphone (or the user will turn off Bluetooth on it).
You can immediately lock your computer by pressing the Win + L key combination or by running the command:
%SystemRoot%\system32\rundll32.exe USER32.DLL LockWorkStation.
The lock screen settings are configured in the Settings > Personalization > Lock Screen section.
In the Screen Saver Settings, you can specify the time after which the computer turns off the screen and goes into sleep mode (when you exit both modes, the lock screen turns on). These are the parameters:
- When plugged in, turn off the screen after;
- When plugged in, the PC goes to sleep after.
In the Screen Saver Settings section, you can specify the idle time after which the computer will be blocked. In the drop-down list, select the screen saver, in the Wait field specify the inactivity time after which the screen saver will turn on, also check the On resume display logon screen option.
Now, after the specified inactivity time, the screen saver will turn on. Then you should touch the keyboard or mouse, the login screen will open and will ask for a password or key to log in to the system.
In some cases, the lock screen can be disabled through Group Policy settings or the registry. If your Windows 10 doesn’t display a lock screen, check the following:
- Open the Local Group Policy Editor—gpedit.msc (not available in Windows 10 Home edition);
- Go to the section Computer Configuration > Administrative Templates > Control Panel > Personalization;
- Make sure that the Do not display lock screen policy is not configured or disabled.
Also, open the registry editor regedit.exe, go to the registry key HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization, and check if the NoLockScreen parameter with a value of 1 is missing in this section. To enable the lock screen, change the parameter value to 0, or delete it.
The lock screen in Windows 10 is a UWP application Microsoft.LockApp, which is located in the folder C:\Windows\SystemApps\Microsoft.LockApp_cw5n1h2txyewy. If for some reason this application is removed, the lock screen also won’t display.