Helping millions of people navigate the world of technology.

3 Ways to Fix Windows 11 Screen Keeps Locking Automatically

Quick Tips
  • Increase the lock screen timeout on Windows to prevent it from auto-locking after a period of inactivity.
  • Ensure the Dynamic Lock feature is disabled and increase the ‘System unattended sleep timeout’ value if Windows keeps locking itself.

Fix 1: Increase Lock Screen Timeout

You can start by verifying the set lock screen timeout duration on your PC. Windows will keep locking itself if the set duration is 1 or 2 minutes. Here’s how you can change that.

Step 1: Press the Windows key + I to open the Settings app and head to System > Power & battery.

Power and Battery Settings on Windows

Step 2: Under the Power section, click on Screen and sleep to expand it.

Step 3: Use the drop-down menus under “Screen and sleep” to increase the time duration before Windows turns off your screen or goes to sleep. Alternatively, you can also set those time durations to Never to keep Windows from putting your PC to sleep.

Lock Screen Timeout on Windows

Fix 2: Turn Off Dynamic Lock

Dynamic lock is a nifty feature on Windows that automatically locks your PC when you leave it unattended. It does this every time your paired Bluetooth device goes out of range. So, if you’ve enabled Dynamic lock on your PC, Windows will keep locking itself automatically, regardless of the set lock screen timeout.

To disable Dynamic lock on Windows:

Step 1: Press the Windows key + I to launch the Settings app and head to Accounts > Sign-in options.

Sign-In Options on Windows

Step 2: Scroll down to Additional settings and click on Dynamic lock to expand it.

Dynamic Lock on Windows

Step 3: Uncheck the Allow Windows to automatically lock your device when you’re away option to disable Dynamic lock.

Enable Dynamic Lock on Windows

Fix 3: Modify Power Options

If the above solutions don’t help, you can go through the power options on your PC to change the “System unattended sleep timeout.” Several users on the forums reported success in fixing the issue with this method. You can also give it a try.

Step 1: Press the Windows key + R to open the Run dialog box. Type in control in the Open field and press Enter.

Step 2: In the Control Panel window, use the drop-down menu in the top right corner to change the view type to large or small icons. Then, go to Power Options.

Power Options on Windows

Step 3: Click on Change plan settings next to your active power plan.

Change Power Plan on Windows

Step 4: Click on the Change advanced power settings option.

Change Advanced Power Settings on Windows

Step 5: In the Power Options window, double-click on Sleep to expand it.

Step 6: Under Sleep, double-click on System unattended sleep timeout to view the set duration.

System Unattended Timeout

Step 7: Modify screen timeout to your liking and click Apply to save changes.

Increase Screen Time Out on Windows

Note: If you’re using a Windows laptop, increase the “System unattended sleep timeout” for both “On battery” and “Plugged in” mode.

This will keep Windows from going to the lock screen repeatedly. However, if you can’t seem to locate the “System unattended sleep timeout” under Sleep settings, you’ll have to employ the following registry method to enable it first.

Step 1: Click on the search icon on the taskbar, type in registry editor, and click Run as administrator.

Open Registry Editor on Windows 11

Step 2: In the Registry Editor window, paste the following path into the address bar at the top and hit Enter:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238c9fa8-0aad-41ed-83f4-97be242c8f20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
Registry Editor on Windows

Step 3: In the right pane, double-click on Attributes and change its value data to 2. Then, click OK.

Modify Registry Settings

The change should take effect immediately. Exit the Registry window and use the steps mentioned earlier to access the “System unattended sleep timeout” option.

Was this helpful?

Thanks for your feedback!

Last updated on 23 July, 2024

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.