Software & AppsOperating System

How To Stop Computer From Locking

Computer Lock

Your computer’s automatic lock feature has a lot of advantages. For starters, it provides an added layer of security when you move away from it to go elsewhere; it also helps you conserve battery power. However, it can be frustrating to keep unlocking your computer every few minutes, especially if you must type in your password each time. 

Quick Answer

To stop your computer from locking, you can change its screen and sleep timeout settings to prevent it from entering sleep mode automatically, change the automatic hibernation timeout to never, disable your screen saver, remove the sign-in requirement after your computer wakes up from sleep, and disable the dynamic lock. 

Usually, any combination of the solutions above will fix your problem, and sometimes, you only have to apply one of them. We have provided a detailed explanation of each proposed solution and advise that you read carefully before deciding on your most preferred solution.

Change the Screen and Sleep Timeout Settings

Your computer’s screen and sleep timeout settings help conserve battery and limit the adverse effects of your idle period. Additionally, the timeout settings ensure that your computer sleeps when you’re away from it for a while. This is necessary to protect your device from intruders if you’re in a public space.

Your computer’s screen and sleep timeout are set to 5 minutes and 15 minutes respectively when working with battery power, and 10 minutes and 30 minutes respectively when connected to a power source. You can prolong the default period for both timeouts. 

To change the screen and sleep settings, follow these steps:

  1. Click the “Start” icon and open “Windows Settings.”
  2. Select “Personalization.”
  3. Click “Lock Screen” on the left-hand column.
  4. Scroll down and click “Screen Timeout Settings.”
  5. Change the timer settings for both screen and sleep. You can extend it as long as possible or choose “Never” to ensure your computer does not sleep automatically. If you do not have a stable power source, you shouldn’t select “Never.” Otherwise, your battery will drain faster.

Disable Sign-in Requirement After Sleep

Prolonging your computer’s sleep and screen timeout is effective, but eventually, the computer goes to sleep, and you must sign in again. If you chose “Never,” you can still manually put your computer to sleep, which will require you to sign in after you wake the computer. 

If you want to remove the sign-in requirement after your computer sleeps, follow these steps:

  1. Click the “Start” icon and open “Windows settings.”
  2. Click “Accounts.”
  3. Select “Sign-in Options” from the left column.
  4. Scroll down to the “Require Sign-in” section.
  5. Choose “Never.”

System Unattended Sleep and Hibernation Timeout Settings

This is part of the advanced settings under power options. To change this setting, follow these steps:

  1. Open the “Control Panel” from the search box of your computer’s taskbar.
  2. Choose “Hardware and Sound.”
  3. Click on “Power Options.”
  4. Select “Change When the Computer Sleeps” from the left column.
  5. Select “Change Advanced Power Settings.”
  6. Click the “+” sign to activate the dropdown for “Sleep” to activate the dropdown.
  7. Click the “+” sign next to “Sleep After” and “Hibernate After” to activate the dropdowns.
  8. Change both to “Never.”

Disable Dynamic Lock

You can enable the dynamic lock feature when your phone is synced to your computer through Bluetooth. The dynamic lock feature allows Windows to lock your computer when your phone is out of range. To disable this feature, follow these steps:

  1. Click the “Start” icon and open “Windows Settings.”
  2. Click “Accounts.”
  3. Select “Sign-in Options” from the left column.
  4. Scroll down to the “Dynamic Lock” section.
  5. Uncheck the box that asks you to allow Windows to lock your device while you’re away.

Update Your Display Drivers

Usually, computer users complain of their computer locking after a few seconds or minutes of inactivity. However, there have been complaints from some users that their computer screen locks while they are using it. When this happens, you should try to update your display driver. To do this, follow these steps:

  1. Press the “Windows” button + the “X” key. 
  2. Select “Device Manager.”
  3. Click the dropdown button to expand “Display Adapters.”
  4. Right-click on the display adapter shown and select “Update Driver.”
  5. Choose “Automatically Search for Drivers” from the two options displayed.
  6. Restart your computer after updating the driver successfully.

Perform a Clean Boot of Your Computer

Suppose your computer doesn’t stop locking automatically after changing all the necessary settings and updating your display driver. In that case, you might have to perform a clean boot to locate the cause of the problem. 

Clean boot involves starting your computer with a limited number of programs and drivers to determine whether a background or third-party application is causing the problem. 

To perform a clean boot, follow these steps:

  1. Sign in to your computer’s admin account and search for “System Configuration” on the taskbar.
  2. Double click to open System Configuration.
  3. Go to the “Services” tab of the dialog box and click to check “Hide All Microsoft Services” at the bottom of the page.
  4. Select “Disable all.”
  5. Click the “Startup” tab and open Task Manager.
  6. Select and disable each item. 
  7. Close Task Manager.
  8. Select “OK” on the “Startup” tab of “System Configuration.”
  9. Restart your computer. 

Upon restart, your computer is in a clean boot environment. As long as you did not encounter the problem in the clean boot environment, you can conclude that the problem is with one of the disabled startup items. 


To locate the item, group the startup items and enable each group before restarting your computer. If the problem occurs in any group, you can isolate the problem to that group and further troubleshoot by enabling one startup item in that group at a time and rebooting to locate the problematic startup.


Usually, you can stop or delay your computer from locking automatically by changing some settings on your computer. We discussed how to change the settings and the steps to follow in the article. 

However, if the problem persists after implementing all the methods proposed in the article, you should try to update your display driver. The last solution you should implement by yourself is a clean reboot of your computer. If you still encounter the problem, take your computer to an engineer to fix it. 

Leave a Comment

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