Dynamic Lock is a built-in Windows 11 feature that automatically locks your PC when you walk away from your desk. It uses Bluetooth 🔷 to track the connection between your computer and your smartphone. When your phone moves out of range, Windows locks the screen.
Advertisement
This saves you from pressing the Win+L shortcut every time you stand up. You need a PC with built-in Bluetooth 🔷 or a working USB Bluetooth adapter, and a smartphone paired to it. Dynamic Lock is available in both Home and Pro editions, so there is no edition difference to worry about.
One thing to know up front: Dynamic Lock only locks the PC. It never unlocks it. You still sign in yourself when you come back. It also does not lock instantly. Windows waits a short time after the phone drops out of range, so do not rely on it as a replacement for locking manually when you are in a hurry.
⚡ Quick Answer
Open Settings›Accounts›Sign-in options, scroll to Dynamic lock, and tick Allow Windows to automatically lock your device when you’re away. Your PC now locks when your paired smartphone moves out of Bluetooth 🔷 range.
Advertisement
Pairing Your Smartphone via Bluetooth
📝Good to KnowPairing your smartphone with your Windows 11 PC lets the operating system detect when you are nearby.
Both devices need Bluetooth 🔷 turned on. Your phone must also be visible to other devices, which on most phones means keeping its Bluetooth 🔷 settings screen open while you pair. Do this before you touch any lock settings.
Open Settings. You can press Win+I to get there quickly. Windows 11 Start menu with Settings gear icon highlighted.
Select Bluetooth 🔷 & devices in the left-hand list. Windows Settings menu highlighting the Bluetooth and devices option for printers
Turn on the Bluetooth 🔷 toggle switch if it is currently off. It should now read On.
Click Add device. Windows 11 Bluetooth and devices settings with add device option. The Add a device window opens.
Choose Bluetooth 🔷 in the Add a device window. Windows starts scanning for nearby devices.
Select your smartphone from the list of discovered devices. If it does not appear, check that Bluetooth 🔷 is on and the phone is visible, then wait a few seconds for the scan to refresh.
Compare the PIN shown on your PC with the one on your phone. If they match, confirm on both screens. When pairing finishes, your phone shows as Connected or Paired under your devices.
Enabling Dynamic Lock in Settings
📝Good to KnowTurning on Dynamic Lock in Settings tells Windows to lock the PC when your paired phone goes out of Bluetooth range.
The option stays unavailable until a phone is paired, so finish the pairing steps above first. No restart is needed. The setting takes effect as soon as you tick the box.
Scroll down to the Dynamic lock section and expand it if it is collapsed. Windows 11 Dynamic Lock settings screen showing pairing options.
Tick the box labeled Allow Windows to automatically lock your device when you’re away. If the box is greyed out or a message says no device is paired, go back and check that your phone is paired and connected.
To test it, leave your phone on your desk, walk out of Bluetooth 🔷 range with it in your pocket, and wait a short while. The PC should lock on its own. To undo the change, return to the same place and clear the box.
Advertisement
Troubleshooting Bluetooth Proximity Issues
If your PC does not lock when you walk away, or locks while you are still sitting there, the cause is almost always the Bluetooth signal. Thick walls, nearby routers and other wireless devices can interfere with it. Outdated Bluetooth drivers can cause the same problem.
Work through these checks in order:
Open Settings›Bluetooth & devices and confirm your phone shows as connected. If it does not, reconnect it or remove it and pair it again.
Check that Bluetooth is still on at the phone. Some phones switch it off with battery saver or airplane mode.
If the PC locks while you are sitting at your desk, the signal is probably weak or unstable. Move the PC or the phone closer together, and remove obstructions between them.
If the PC does not lock when you leave, the signal may be reaching further than you expect. Range depends heavily on the Bluetooth adapter and the room. Try again from a greater distance, or with the phone in a different pocket.
Update your Bluetooth adapter driver through Device Manager. Expand the Bluetooth category, right-click your adapter, and choose Update driver.
Configuring Alternative Sign-In Protections
Dynamic Lock only protects the PC when you leave. When you come back, you need a quick way to sign in again. A PIN, fingerprint or facial recognition is much faster than typing a full account password every time.
Open Settings.
Select Accounts.
Select Sign-in options.
Choose Facial recognition (Windows Hello), Fingerprint recognition (Windows Hello) or PIN (Windows Hello), then follow the on-screen setup steps. Face and fingerprint options only appear if your PC has a compatible camera or fingerprint reader. A PIN works on any PC.
If an option is missing, your hardware probably does not support it. The PIN is the fallback that is always available.
Advertisement
What to do next
Your computer will now lock itself whenever you walk away with your paired phone. If you want more protection, look through the other settings under Accounts. You can also set screen and sleep timeouts to cover times when your phone stays near the PC but you are away from it.
Frequently asked questions
What is the function of dynamic lock in 🪟 Windows 10?
Dynamic Lock locks your Windows PC automatically when a paired Bluetooth device, such as your smartphone, moves out of range. It never unlocks the PC, so you still sign in when you return. Windows waits a short moment after the device leaves range before locking. It works in both Windows 10 and Windows 11.
How do I enable auto lock?
Open Settings, go to Accounts›Sign-in options, and scroll to Dynamic lock. Tick the checkbox that lets Windows lock your device when you're away. First pair your phone under Bluetooth & devices, because Dynamic Lock needs a paired device to track.
How to turn off auto lock Windows laptop?
To turn off auto lock, open Settings›Accounts›Sign-in options, scroll to Dynamic lock, and untick the checkbox. To stop the screen from turning off after a set time, open Settings›System›Power & battery›Screen and sleep and change the timers.
How do I set my laptop screen timeout?
Open Settings, select System, then Power & battery. Under Screen and sleep, set "On battery power, turn off my screen after" and "When plugged in, turn off my screen after" to the time you want. Choose Never to keep the screen on.
Still have a question?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
📬 Get new Windows tips in your inbox
One email when we publish something worth your time. No spam, unsubscribe anytime.
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work.
His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins.
Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
One email when we publish a guide worth your time — new Windows features, the fixes that actually
work, and a heads-up when Microsoft breaks something. Unsubscribe in one click.
📬 Get new Windows tips in your inbox
One email when we publish something worth your time. No spam, unsubscribe anytime.
No comments yet — be the first to share your thoughts!