Windows

3 Ways to Disable Auto-Lock in Windows

Learn three practical ways to turn off auto-lock in Windows, including power settings, sign-in options, and screen saver controls.

Kevin Martin
Kevin Martin
Tech Contributor  •  Sep 19, 2026  •  4 min read

Windows can lock itself automatically for security or after a period of inactivity, but that is not always convenient. If your PC keeps locking when you step away for only a moment, there are a few different settings you can change depending on what is causing it.

This guide shows three ways to turn off auto-lock in Windows, along with the most common reasons each method works.

3 Ways to Disable Auto-Lock in Windows

1. Change Your Screen and Sleep Settings

The most common cause of a PC locking too quickly is a power setting that turns off the display or puts the device to sleep after a short idle time. On some systems, that behavior can also lead to a lock screen when you return.

  1. Open Settings and select System.
  2. Choose Power & battery in Windows 11, or Power & sleep in Windows 10.
  3. Open the screen and sleep timeout options.
  4. Set the display and sleep timers to a longer period, or choose Never if that fits your needs.
  5. If available, check any advanced power plan settings for sleep or wake behavior as well.
Why It Matters If the lock happens after a consistent delay, power settings are often the real cause. Changing them can stop the device from sleeping too quickly and reduce how often Windows shows the lock screen.

2. Disable the Sign-In Requirement After Inactivity

Windows can be set to require a password or PIN after the screen turns off, the device wakes up, or you leave it idle. If you only want to stop the automatic lock behavior, this is the setting to check next.

  1. Open Settings.
  2. Go to Accounts, then Sign-in options.
  3. Look for a setting such as If you’ve been away, when should Windows require you to sign in again?
  4. Change it to Never if the option is available.
  5. Also review any options related to dynamic lock, because a paired phone or Bluetooth device can trigger a lock when you move away.
Warning Turning off sign-in prompts can make your PC less secure, especially on a shared or work computer. Use this option only if the device is private and the risk is acceptable.
Note The exact wording of this setting varies between Windows versions and updates. On some devices, it may appear under additional security or login sections.

3. Check the Screen Saver Lock Setting

A screen saver can also lock Windows automatically when it starts. This is easy to miss because the computer may not be sleeping at all—it may simply be locking after the screen saver activates.

  1. Right-click the desktop and choose Personalize.
  2. Search for Screen saver settings, or open the classic screen saver dialog from Windows settings.
  3. See whether a screen saver is selected.
  4. If one is enabled, either set it to None or clear the option that says On resume, display logon screen.
  5. Apply the changes.
Key Fact If a screen saver is set to lock the PC on resume, Windows may appear to auto-lock even when power settings are correct.
Quick Tip If you are testing multiple changes, adjust one setting at a time so you can tell which one fixed the problem.

Which Method Should You Use First?

Start with the setting that best matches the symptom. If the PC locks after a fixed period of inactivity, check power and sleep settings first. If it locks when you return from sleep or after the screen turns off, sign-in options are usually the next place to look. If the lock happens while the computer is still on and the display has only been idle for a while, screen saver settings may be responsible.

If Windows Still Locks Automatically

Some PCs are managed by work or school policies that override local settings. In that case, the auto-lock behavior may be enforced by an administrator or security policy rather than by your own personal preferences.

Warning If the computer belongs to your employer or school, changing security-related settings may not be allowed. Check with your administrator before making changes that affect sign-in requirements.

Quick Troubleshooting Check

If you are not sure which feature is causing the lock, compare what happens before and after the screen goes dark. That can help you tell whether the issue is coming from sleep settings, a sign-in requirement, or a screen saver.

Keep the Right Balance Between Convenience and Security

Turning off auto-lock can make a PC easier to use, especially for home office work, media playback, kiosks, or long downloads. Just remember that the more accessible the device is, the more important it becomes to keep it in a safe location and use strong account protection when appropriate.

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows