How to Turn Off Auto Lock in Windows 10
You can turn off auto lock in Windows 10 by changing the screen timeout setting to “Never” in the Power & sleep settings, or by disabling the dynamic lock feature that locks your PC when you step away with your phone. The quickest way is to go to Settings > System > Power & sleep and set both “Screen” and “Sleep” to Never. This article explains all the methods, including registry tweaks, group policy, and how to handle the lock screen after sleep.
Why Windows 10 Auto-Locks Your PC
Windows 10 locks your screen automatically for two main reasons: to save power and to protect your data when you’re away. The screen turns off after a set period of inactivity, and the PC may enter sleep mode, which requires a sign-in to wake. Additionally, the “Dynamic lock” feature uses Bluetooth to detect when your paired phone is out of range and locks the PC automatically. Understanding which feature is causing the lock helps you apply the right fix.
Auto lock is a security feature, but it can be annoying if you’re watching a video, reading a long article, or running a presentation. Turning it off is safe for a desktop PC at home, but be aware that it reduces security on a laptop you carry around.
Method 1: Change Power & Sleep Settings (Easiest)
The most direct way to stop auto lock is to change the screen and sleep timeouts in the Settings app. Here’s how:
- Press Windows + I to open Settings.
- Click System.
- In the left sidebar, select Power & sleep.
- Under Screen, set both “On battery power, turn off after” and “When plugged in, turn off after” to Never.
- Under Sleep, set both options to Never as well.
This stops the screen from turning off and the PC from sleeping, which prevents the lock screen from appearing after inactivity. If you only want to stop the lock but still allow the screen to turn off, you can leave the screen timeout as is and only set Sleep to Never – but note that the screen turning off still shows the lock screen when you wake it, unless you also disable the lock screen requirement (see Method 4).
Method 2: Disable Dynamic Lock
Dynamic lock is a separate feature that locks your PC when you walk away with your phone. It’s enabled by default if you’ve paired a phone via Bluetooth. To turn it off:
- Open Settings > Accounts > Sign-in options.
- Scroll down to Dynamic lock.
- Uncheck the box that says “Automatically lock your device when you’re away”.
If you don’t see this option, it means your PC doesn’t support Bluetooth or no phone is paired. Disabling dynamic lock doesn’t affect other lock features.
Method 3: Use Control Panel’s Power Options
The classic Control Panel offers the same settings with a few extra options, such as turning off the hard disk. To access it:
- Press Windows + R, type
powercfg.cpl, and press Enter. - Click Change plan settings next to your active power plan.
- Set Turn off the display and Put the computer to sleep to Never for both battery and plugged in.
- Click Change advanced power settings to fine-tune other timeouts like hard disk off.
This method is helpful if you want to keep the screen on but allow the hard disk to spin down, or vice versa.
Method 4: Disable Lock Screen on Wake (Group Policy / Registry)
Even with sleep set to Never, the lock screen appears when you manually lock the PC or after a screen-off. To disable the lock screen entirely on Windows 10 Pro, Enterprise, or Education, use the Local Group Policy Editor:
- Press Windows + R, type
gpedit.msc, and press Enter. - Navigate to Computer Configuration > Administrative Templates > Control Panel > Personalization.
- Double-click “Do not display the lock screen”.
- Set it to Enabled and click OK.
For Windows 10 Home, which lacks gpedit.msc, you can edit the registry:
- Press Windows + R, type
regedit, and press Enter. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization. - If the Personalization key doesn’t exist, right-click on Windows > New > Key and name it Personalization.
- Inside Personalization, right-click > New > DWORD (32-bit) Value and name it NoLockScreen.
- Set its value to 1 and restart your PC.
This removes the lock screen, so when you wake the PC, you go straight to the sign-in screen (or desktop if you also have no password).
Method 5: Disable Password Requirement on Wake
If you want to keep sleep enabled but don’t want to enter a password every time, you can disable the sign-in requirement. Go to Settings > Accounts > Sign-in options and under “If you’ve been away, when should Windows require you to sign in?” select Never. This only works if you have a password or PIN set; without one, the option is grayed out. Note that this is less secure – anyone can wake the PC and access your files.
Common Problems and Troubleshooting
- Settings revert after restart: Some power plans are managed by the manufacturer (e.g., laptop power management software). Check if you have a vendor utility like Lenovo Vantage or Dell Power Manager and adjust settings there.
- Screen still turns off despite “Never”: Some apps like video players or presentation modes can override the setting. Also, check if a screensaver is enabled – right-click desktop > Personalize > Lock screen > Screen saver settings, and set it to None.
- Dynamic lock option missing: Your PC must have Bluetooth and a paired phone. If it’s missing, the feature is not available.
- Group Policy not working: The policy only applies to the lock screen, not the sign-in screen. Also, ensure you have the correct Windows edition – Home doesn’t include gpedit.msc.
- Battery drains faster: Keeping the screen on consumes more power. On a laptop, consider using a different power plan when on battery.
Frequently Asked Questions
Does turning off auto lock affect security?
Yes. If you disable the lock screen and password requirement, anyone with physical access to your PC can use it. It’s best to only turn off auto lock on a trusted desktop at home, and keep it enabled on a laptop you carry in public.
What’s the difference between screen off and sleep?
Screen off turns off the display but the PC stays fully awake, so apps continue running. Sleep puts the PC into a low-power state, pausing most activity. Both can trigger the lock screen when you wake them, but you can disable each separately.
Can I turn off auto lock only when plugged in?
Yes. In Power & sleep settings, set “On battery” to a short time and “When plugged in” to Never. This is a common setup for laptops used at a desk.
Why does my PC lock even after I set everything to Never?
Check if you have a screensaver that’s set to “On resume, display logon screen” – that will lock the PC after the screensaver time. Also, some corporate policies may override your settings; if your PC is managed by an organization, contact your IT admin.
Is there a way to disable auto lock temporarily?
You can use a command-line tool like powercfg /change standby-timeout-ac 0 to set sleep to never, but you’d need to run it each time. A simpler approach is to use a presentation mode (Windows + P > Duplicate or Extend) which often prevents sleep, but it’s not a permanent solution.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.