Locking your Windows PC automatically when you step away is a simple way to keep your files and accounts private without having to remember to press Win+L every time. This guide walks you through the built-in Windows methods—Dynamic Lock (which uses your phone’s Bluetooth) and the screen timeout setting—so you can choose the one that fits how you work. No extra software is needed; everything is in the Windows Settings app.
What You’ll Need
- A Windows 10 or Windows 11 PC (the steps are nearly identical on both).
- For Dynamic Lock: a smartphone with Bluetooth that you carry with you (any modern iPhone or Android phone works).
- Your Windows account must have a password or PIN set—the lock screen is what appears when the PC locks.
Step-by-Step
Method 1: Use Dynamic Lock (Phone-Based)
- Pair your phone via Bluetooth. On your PC, open Settings (press Win+I), go to Devices (Windows 10) or Bluetooth & devices (Windows 11), and turn on Bluetooth. On your phone, enable Bluetooth and make it discoverable. On the PC, click Add Bluetooth or other device > Bluetooth, select your phone, and confirm the pairing code on both devices.
- Enable Dynamic Lock. Go to Settings > Accounts > Sign-in options. Scroll down to Dynamic lock. Check the box that says “Automatically lock your device when you’re away”.
- Test it. With your phone paired and Bluetooth on, lock your PC manually once (Win+L), then walk away with your phone. After about 30 seconds to a minute, the PC should lock itself. If it doesn’t, make sure your phone is still connected (check the Bluetooth settings on both devices) and that your PC’s Bluetooth isn’t in power-saving mode.
Method 2: Set a Screen Timeout (Timer-Based)
- Open Power & sleep settings. Go to Settings > System > Power & sleep (Windows 10) or Settings > System > Power (Windows 11).
- Set the “Screen” timeout. Under Screen, choose a time (e.g., 1 minute, 5 minutes) after which the display turns off. This alone doesn’t lock the PC, but it’s the first step.
- Require sign-in on wake. Go to Settings > Accounts > Sign-in options. Under Require sign-in, select “When PC wakes up from sleep” from the dropdown. Now, when the screen turns off and the PC goes to sleep, you’ll need to enter your password or PIN to get back in.
- Adjust sleep timeout (optional). In the same Power & sleep page, set Sleep to a time that suits you. The PC will lock when it wakes from sleep, so a shorter sleep time means faster automatic locking.
Method 3: Use a Screensaver with Password Protection (Classic)
- Open screensaver settings. Press Win+R, type
control desk.cpl,,@screensaverand press Enter. (Or search for “Change screen saver” in the Start menu.) - Choose a screensaver. Pick one from the dropdown (e.g., “Blank” is fine).
- Set the wait time. Enter a number of minutes (e.g., 5).
- Check “On resume, display logon screen”. This box makes the PC lock when the screensaver is dismissed. Click OK.
Common Mistakes
- Bluetooth not actually connected. Dynamic Lock only works when your phone is paired and actively connected. If you turned off Bluetooth on your phone or PC, it won’t lock.
- Screen timeout set but “Require sign-in” is off. If you only set the screen timeout, the PC will wake to the desktop without asking for a password. You must enable the “Require sign-in” option.
- Using “Sleep” instead of “Screen” timeout. The screen timeout turns off the display but the PC stays awake. The sleep setting actually puts the PC to sleep. Both can trigger locking, but they’re separate settings.
- Forgetting to set a password/PIN. If your account has no password, locking does nothing. Set a PIN or password under Settings > Accounts > Sign-in options.
Tips
- Use Dynamic Lock for “walk away” protection. It’s the most automatic—no timers to wait for. Just remember to keep Bluetooth on.
- Combine methods. Use Dynamic Lock for immediate locking when you walk away, and set a short screen timeout (e.g., 2 minutes) as a fallback for when you forget your phone.
- Adjust the timeout to your workflow. If you step away frequently, a 1-minute timeout can be annoying. A 5-minute timeout is a good balance for most people.
- Use Win+L for instant manual locking. Even with automation, it’s a good habit to press Win+L when you leave your desk.
Troubleshooting
Dynamic Lock doesn’t lock the PC.
- Check that your phone is connected: go to Settings > Bluetooth & devices and see if your phone shows as “Connected”. If not, re-pair it.
- Make sure the “Automatically lock” checkbox is checked.
- On some laptops, Bluetooth may turn off to save power. Go to Device Manager > Bluetooth > right-click your adapter > Properties > Power Management and uncheck “Allow the computer to turn off this device to save power”.
PC locks too quickly or too slowly.
- For Dynamic Lock, the delay is fixed (about 30 seconds after your phone is out of range). You can’t adjust it.
- For screen timeout, adjust the “Screen” and “Sleep” times in Power & sleep settings. A shorter screen timeout locks faster.
PC doesn’t lock after waking from sleep.
- Go to Sign-in options and ensure “Require sign-in” is set to “When PC wakes up from sleep”. If it’s set to “Never”, it won’t ask for a password.
I don’t see the Dynamic Lock option.
- Dynamic Lock is available on Windows 10 version 1709 and later, and on Windows 11. If you don’t see it, update Windows. Also, it requires a Bluetooth adapter—most laptops have one built-in, but some desktop PCs don’t.
Frequently Asked Questions
Does Dynamic Lock work if I leave my phone at my desk?
No. Dynamic Lock uses the Bluetooth signal strength to detect when your phone is out of range. If your phone stays on your desk, the PC will not lock.
Can I lock my PC automatically without a phone?
Yes. The screen timeout and screensaver methods work without a phone. They rely on a timer, not proximity.
Will locking my PC close my programs?
No. Locking only shows the lock screen and requires your password to get back in. All your open apps and files remain exactly as you left them.
How do I set a PIN for faster unlocking?
Go to Settings > Accounts > Sign-in options > PIN (Windows Hello) and click Add. Follow the prompts to create a PIN.
Can I make the PC lock after a specific number of minutes of inactivity?
Yes. Use the screen timeout method: set the “Screen” timeout to your desired minutes, and ensure “Require sign-in” is enabled. The PC will lock the moment the screen turns off.
Does Dynamic Lock drain my phone battery?
Bluetooth itself uses very little battery. The constant connection may have a minor effect, but it’s generally negligible for modern phones.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Create App Shortcuts in Windows 10 Start Menu
- How to Rename a SQL Server Database
- Fix Google Calendar Not Syncing on iPhone
- Fix Skype Microphone Not Working on Windows
- Google Docs Landscape: Change Page Orientation
- Recover Deleted Admin Account in Windows 11