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:

Tags: #System

Leave a Comment

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.

Troubleshooting Windows 11 Automatic Repair Loop 2026

Troubleshooting Windows 11 Automatic Repair Loop 2026

Stuck in the frustrating Windows 11 Automatic Repair loop? Discover proven troubleshooting steps for 2026 to boot your PC smoothly and regain control. Step-by-step fixes that work.

How to Fix Windows 11 Service Host Network High Usage

How to Fix Windows 11 Service Host Network High Usage

Struggling with high CPU usage from Service Host Network in Windows 11? Discover proven fixes to reclaim your PC

How to Setup Windows 11 Registry Backup Safely

How to Setup Windows 11 Registry Backup Safely

Discover a step-by-step guide on how to setup Windows 11 registry backup safely. Protect your system data with reliable methods to avoid crashes and data loss. Essential tips for beginners and pros alike.

How to Fix Java Path Not Recognized in Command Prompt

How to Fix Java Path Not Recognized in Command Prompt

Struggling with Java path not recognized in Command Prompt? This step-by-step guide fixes the issue quickly on Windows 10/11. Learn to set JAVA_HOME, update PATH, and verify Java installation for seamless coding. Updated for the latest Java versions.

How to Fix 0x80040154 Class Not Registered on Windows 11

How to Fix 0x80040154 Class Not Registered on Windows 11

Struggling with the frustrating "0x80040154" Class Not Registered error on Windows 11? Discover proven, step-by-step solutions to fix it fast and get back to seamless computing. No tech jargon, just results.

How to Use Windows 11 Media Player for 4K Video

How to Use Windows 11 Media Player for 4K Video

Discover how to seamlessly use Windows 11 Media Player for 4K video playback. Get step-by-step guidance on setup, optimization, and troubleshooting for crystal-clear visuals on your PC.

How to Fix Windows 11 Audio Popping Noise

How to Fix Windows 11 Audio Popping Noise

Struggling with audio popping noise in Windows 11? Discover proven fixes to restore crystal-clear sound. From driver updates to settings tweaks, get step-by-step solutions that work. Say goodbye to crackling audio today.

How to Use Windows 11 Snapping Group Features

How to Use Windows 11 Snapping Group Features

Discover how to use Windows 11 snapping group features to organize your workspace like a pro. Step-by-step guide to enhance multitasking efficiency and productivity.

How to Connect Printer via Network When Error 709 Appears

How to Connect Printer via Network When Error 709 Appears

Struggling with Error 709 when connecting your printer via network? Discover proven steps to resolve this issue quickly and get your printing back on track without frustration. Expert tips for seamless setup.

How to Fix Windows 11 Discord Update Loop and Crash

How to Fix Windows 11 Discord Update Loop and Crash

Struggling with Discord update loops and crashes on Windows 11? Discover proven, step-by-step fixes to resolve the issue quickly and get back to seamless gaming chats. Updated for the latest 2026 patches.

Solving Network Printing Issues Between Win 10 and Win 11

Solving Network Printing Issues Between Win 10 and Win 11

Struggling with network printing between Windows 10 and Windows 11? Discover proven steps to resolve connectivity issues, share printers effortlessly, and restore smooth workflows. Expert tips for hassle-free setup.

Solving Windows 11 WHEA Uncorrectable Error Overclock Fix

Solving Windows 11 WHEA Uncorrectable Error Overclock Fix

Struggling with Windows 11 WHEA Uncorrectable Error? Discover proven overclock fixes to eliminate BSOD crashes. Step-by-step guide for stable PC performance.

Troubleshooting Windows 11 Network Bridge Errors

Troubleshooting Windows 11 Network Bridge Errors

Struggling with Windows 11 Network Bridge errors? This comprehensive guide walks you through proven troubleshooting steps to resolve connectivity issues, optimize your network setup, and get back online fast. Discover expert tips for seamless bridging.

How to Fix 0x80070020 File in Use Error Windows 11

How to Fix 0x80070020 File in Use Error Windows 11

Struggling with the frustrating 0x80070020 file in use error on Windows 11? Discover proven, step-by-step fixes to resolve it quickly and get your system running smoothly again. No tech expertise needed!

How to Download Windows 11 ISO with Product Key

How to Download Windows 11 ISO with Product Key

Discover the step-by-step process to download Windows 11 ISO with a valid product key. Get the latest official files, avoid pitfalls, and install effortlessly for a seamless upgrade experience.