Does your Windows PC get locked automatically too often? If that’s the case, then it’s probably because some setting in the computer is triggering the lock screen to appear, even when you leave it inactive for a short duration.
Stop computer from automatically locking Windows 11/10
If your PC is getting locked automatically, then you need to disable the auto lock feature, by following these suggestions for Windows 11/10:
- Use Windows Settings
- Disable Dynamic Lock
- Disable or Change Lock Screen timeout settings
- Disable Blank Screensaver
- Change System unattended sleep timeout
How to disable Auto lock in Windows 11
1] Use Windows Settings
To disable auto-lock in Windows 11, press Win+I to open Windows Settings, go to Accounts > Sign-in options and locate the If you’ve been away, when should Windows require you to sign in again setting. Select Never from the menu.
2] Disable Dynamic Lock
Apart from using PIN or Password, you can also use Dynamic Lock. It is useful for those who keep forgetting to lock 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 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 > Universal 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.
4] Disable Blank Screensaver
If you use a screensaver, ensure that it’s not set as blank. Otherwise, you will never know that it 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.
5] Change System unattended sleep timeout
Available under Power Settings, the System unattended sleep timeout setting is the idle timeout before the system returns to a 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 PC kept getting locked automatically.