How to prevent Windows from locking automatically

Both Windows 10 and 11 automatically lock the screen after a period of inactivity to protect user data and prevent unauthorized access. However, if you want to keep your PC accessible without constantly logging in, there are ways to disable the auto-lock feature in Windows.

1. Modify login options

Disabling the Windows sign-in requirement is an effective way to prevent Windows from locking itself when idle. You'll also want to disable Dynamic Lock, which automatically locks your PC when a connected Bluetooth device , such as a smartphone, is out of range. Here's how to do both:

  • Press Win + I to open the Settings app and go to Accounts > Sign-in options .
  • In the Additional settings section , select Never from the drop-down menu.
  • In the same menu, disable Dynamic Lock by unchecking the Allow Windows to automatically lock your device when you're away option .
How to prevent Windows from locking automatically
Sign-in options in Windows 11 Settings app

2. Turn off Sleep mode and screensavers

By default, Windows automatically locks when it goes to Sleep. To prevent this, you can prevent Windows from automatically going to Sleep when it is inactive. This way, it won't lock itself.

To turn off Sleep mode in Windows, follow these steps:

  • Open the Settings app and go to System > Power & battery .
  • Click Screen and sleep to expand.
  • Click the drop-down menu next to "On battery power, put my device to sleep after" and "When plug in, put my device to sleep after" and select Never .
How to prevent Windows from locking automatically
Set Sleep Mode in Windows 11

You should also turn off screensavers, as they can sometimes cause Windows to lock automatically. Here's how to do it:

  • Press Win + S to open Windows Search.
  • Type Turn screen saver on or off and select the first result that appears.
  • In the Screen Saver Settings window, set Screen saver to None and uncheck On resume, display the logon screen .
How to prevent Windows from locking automatically
Install screensaver in Windows

3. Edit Windows Registry

Another way to prevent Windows from locking itself is to edit some registry files. However, it is important to understand that editing the Windows Registry can be dangerous, so only use this method if other methods do not work.

Even if you are familiar with editing registry files, make sure you back up all registry files or create a restore point first, just in case anything goes wrong.

  • Click the search icon on the taskbar, type registry editor and select Run as administrator .
  • In the Registry Editor window, navigate to HKEY_LOCAL_MACHINE > Software > Policies > Microsoft from the left pane.
  • Right-click Windows and select New > Key . Name the new key "DisableAutoLock".
  • Right-click on the newly created key, go to New and select DWORD (32-bit) Value . Rename this new DWORD to "NoLockScreen".
  • Open NoLockScreen and set the Value data to 1 . Click OK and restart your computer to apply the changes.
How to prevent Windows from locking automatically
Modify DWORD in Registry

Unlocking your PC is incredibly convenient if it supports Windows Hello , whether it's through facial recognition or a fingerprint scan. However, if your computer lacks these features, you can prevent your Windows 10 or 11 computer from locking itself using any of the methods above.

Good luck!

See more articles below:

Sign up and earn $1000 a day ⋙

Leave a Comment

How to Clear NVIDIA Shader Cache on Windows

How to Clear NVIDIA Shader Cache on Windows

Clearing the NVIDIA Shader Cache will reset the system, forcing it to rebuild with new data. Here are instructions for clearing the NVIDIA Shader Cache.

Summary of some simple ways to disable USB ports on Windows computers

Summary of some simple ways to disable USB ports on Windows computers

Unlocking USB ports in BIOS is not difficult. However, how to lock computer USB ports? Let's find out with Quantrimang.com!

Extremely simple tips to change IP without VPN

Extremely simple tips to change IP without VPN

Being blocked online can be frustrating, whether it's a forum lockout, a game ban, or a temporary IP restriction. The good news is that you don't always need a VPN to get around these restrictions.

How to Take Advantage of the Performance Tab in Task Manager

How to Take Advantage of the Performance Tab in Task Manager

When your computer crashes, seeing how everything is running can help you troubleshoot. And when everything is working, this information can also help you optimize your system.

5 tips to help your Windows 11 laptop battery last all day

5 tips to help your Windows 11 laptop battery last all day

Windows laptops aren't known for their battery life, at least not without some tweaking. But these tips will help your laptop last all day without having to find a power outlet.

Enable or disable the built-in Administrator account on Windows

Enable or disable the built-in Administrator account on Windows

Windows 10/11 includes a hidden Administrator account that you can use to manage all the important data on your computer. Let's see how to enable or disable the built-in Administrator account on Windows 10/11!

Instructions to fix System Service Exception error on Windows

Instructions to fix System Service Exception error on Windows

System Service Exception or SYSTEM_SERVICE_EXCEPTION is one of the BSOD errors (blue screen of death errors). System Service Exceptions errors occur quite commonly and continuously.

Recover Deleted Data with Recuva Portable in Windows 7

Recover Deleted Data with Recuva Portable in Windows 7

In the following article, we will present the basic operations to recover deleted data in Windows 7 with the support tool Recuva Portable. With Recuva Portable, you can store it in any convenient USB, and use it whenever needed. The tool is compact, simple, easy to use with some of the following features:

How to delete duplicate files to save computer memory using CCleaner

How to delete duplicate files to save computer memory using CCleaner

CCleaner scans for duplicate files in just a few minutes, then lets you decide which ones are safe to delete.

10 Windows Settings You Should Never Leave as Default

10 Windows Settings You Should Never Leave as Default

Windows doesn't come with security set up by default, which means there are some default settings you need to change.

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

USB devices have become indispensable in everyday life, allowing us to connect a wide variety of essential hardware to our PCs.

How to Lock Guest Wi-Fi Network So No One Can Spy

How to Lock Guest Wi-Fi Network So No One Can Spy

If you properly lock down your guest Wi-Fi network, you can share your Internet connection with any visitors without sharing any other information.

Lost Admin rights on Windows 10, heres how to fix it

Lost Admin rights on Windows 10, heres how to fix it

For some reason, your Windows 10 computer lost Admin rights, every time you open an application on the screen you receive an error message. So how to restore lost Admin rights, please refer to the article below of WebTech360.

3 ways to turn off Windows 11 firewall

3 ways to turn off Windows 11 firewall

In this article, WebTech360 will guide you how to turn off the firewall on Windows 11.

Windows 11 22H2: Moment 1 update with many notable features

Windows 11 22H2: Moment 1 update with many notable features

After a long wait, the first major update of Windows 11 has officially been released.