Computer

Stop Computer from Locking Windows 10 Automatically

Windows 10 Dynamic Locking

Does your Windows PC gets locked automatically too often? If that’s the case, then its probably because of some setting in the computer is triggering the lock screen to appear, and that is locking out Windows 10, even when you leave it inactive for a short duration.

Stop computer from automatically locking Windows 10

If your PC is getting locked automatically, then you need to disable the lock screen from appearing automatically, by following these suggestions for Windows 10:

  1. Disable or Change Lock Screen timeout settings
  2. Disable Dynamic Lock
  3. Disable Blank Screensaver
  4. Change System unattended sleep timeout

These tips might sound too naive, but trust me, sometimes these small settings, especially those default values, create more problems.

1. Disable or Change Lock Screen timeout settings

You need to disable the Lock Screen. You can use our Ultimate Windows Tweaker to do it with a click! You will find the setting to Disable Lock Screen under Customization > Modern UI > Lock Screen.

If you do not want to disable it, check the sleep timeout settings, screen timeout settings, screensaver, and so on. These are the basic settings that you should check.

2. Disable Dynamic Lock

Windows 10 Dynamic Locking

Apart from using PIN or Password, you can also use Dynamic lock. It is useful for those who keep forgetting locking the device. Dynamic lock uses Bluetooth devices. Every time the Bluetooth device is out of range, the computer is locked. So make sure the device is nearby or uncheck the option which says, “Allow Windows to lock your device when you’re away automatically.”

3] Disable Blank Screensaver

Stop computer from locking Windows 10 automatically

If you use a screensaver, ensure that it’s not set as blank. The problem is that you will never know that a screensaver is running.

  • Type Screensaver in the Search bar
  • Click on Change Screensaver
  • In the dropdown, check if it is set to blank.
  • If yes, change it to None.

Press Apply and exit.

4. Change System unattended sleep timeout

Change System unattended sleep timeout

Available under Power Settings, the System unattended sleep timeout setting is the idle timeout before the system returns to low power sleep state. The default time is set to 2 minutes for both, i.e., when running on batteries and plugged.  Change it to a higher value, so that the PC doesn’t get into Sleep mode too quickly.

If the setting doesn’t appear in Power Settings, you can manually add it using PowerShell and Registry

PowerShell method

Use Win + X and then select PowerShell(admin)

Type the following and hit Enter:

powercfg -attributes SUB_SLEEP 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 -ATTRIB_HIDE

Exit and check.

Registry method

Open Registry Editor and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0

Change the value of the “Attributes” key from 1 to 2. This will enable the System unattended sleep timeout in the Power Options.

Now you can change this setting.

We hope these tips were useful enough for you to resolve the problem where your Windows 10 PC keeps getting locked automatically.