Security
Dynamic Lock Windows 11: Lock Your PC When You Walk Away
Written by Windows 11 Field Guide Editorial Team · Updated

Leaving a laptop unlocked in an office, a library or a shared home is one of the easiest ways to expose your email and files. Dynamic lock Windows 11 users can turn on in a couple of minutes is a simple safety net: Windows watches a phone you have paired over Bluetooth, and when you walk away with it and the signal drops, the PC locks itself. It is not perfect and it is not instant, but it catches the times you forget to lock up. This guide shows how to set it up, what to expect, how to fix it when it does nothing, and the backup options you should use alongside it.
The steps apply to Windows 11 version 24H2, 25H2 and 26H2 on Home and Pro.
How Dynamic lock works
Microsoft’s Sign-in options page explains that Dynamic lock uses Bluetooth to pair with your phone and locks the device when the phone’s Bluetooth signal drops below a certain level. In practice:
- You need a PC with Bluetooth and a phone that can pair with it.
- The phone has to be paired, not just nearby.
- Microsoft says Windows automatically locks within a minute after you are out of Bluetooth range.
- It only locks the PC. When you come back, you sign in normally with Windows Hello, a PIN or a password.
Because it relies on signal strength, the distance at which it triggers depends on walls, where the phone is in your bag, and the Bluetooth hardware on both sides.
Step 1: Pair your phone
- Turn on Bluetooth on your phone and keep it unlocked and near the PC.
- On the PC, open Settings > Bluetooth & devices and make sure Bluetooth is on.
- Select Add device, then Bluetooth.
- Choose your phone from the list. Confirm that the code shown on the PC matches the one on the phone, and accept on both.
Once paired, the phone appears under Bluetooth & devices. If pairing fails, our Windows 11 Bluetooth not working guide covers the usual fixes, from drivers to airplane mode.
Step 2: Turn on Dynamic lock
- Open Settings > Accounts > Sign-in options.
- Scroll down to Additional settings and expand Dynamic lock.
- Turn on the option that allows Windows to automatically lock your device when you are away.
Windows shows the name of the paired phone it will use. The Windows Security app also has a Dynamic lock section under Account protection, which links to the same setting.
Step 3: Test it
Take your phone and walk somewhere out of range, such as another room or the end of the corridor, for two minutes. Come back and check whether the lock screen is showing. If it locked, you are set. If not, see the troubleshooting section below.
Do not rely on it until you have tested it in the place you actually work: an open-plan office and a small flat behave very differently.
Limitations to know
Dynamic lock is a convenience feature, not a security guarantee:
- There is a delay. Up to about a minute after the signal drops, and the signal may stay strong for several metres. Someone sitting next to your desk has time to use the PC.
- It follows the phone, not you. Leave your phone on the desk and walk away, and the PC stays unlocked.
- The PC must be awake. It only acts while Windows is running and signed in.
- Battery savers can interfere. Aggressive power saving on the phone can make the Bluetooth connection drop or reconnect at odd times.
So treat it as a backup to locking the PC yourself.
Better habits alongside Dynamic lock
Press Windows key + L every time you stand up. It locks instantly and is the most reliable option. Our Windows 11 keyboard shortcuts guide lists other time-savers.
Require sign-in after sleep. In Settings > Accounts > Sign-in options, set If you’ve been away, when should Windows require you to sign in again? to Every time. Then a short screen timeout and sleep timer lock the PC even if you forget.
Use a screen saver that locks. Microsoft’s screen saver page explains that you can tick On resume, display logon screen, so the PC locks when the screen saver starts after a set number of idle minutes. Search for “Change screen saver” in the Start menu to open it.
Presence sensing. Some newer laptops have a built-in presence sensor that can turn the screen off when you leave and wake it when you return. Where the hardware supports it, the settings appear in the Settings app; pair it with the sign-in requirement above if you want the PC to lock, not just turn the screen off.
Dynamic lock not working
Work through these checks:
- Is the phone still paired and connected? Look in Settings > Bluetooth & devices. If it shows as paired but never connects, remove it and pair again.
- Is Bluetooth on at both ends? Airplane mode on either device stops Dynamic lock.
- Is the phone’s Bluetooth asleep? Some phones turn Bluetooth off or limit it in power-saving modes. Allow Bluetooth to stay on.
- Is the toggle still on? Windows updates rarely reset it, but check Sign-in options after a big update.
- Is the PC managed? If the setting is greyed out with a note that your organization manages it, the IT department controls it.
- Is the Bluetooth driver current? Install updates in Settings > Windows Update, including optional driver updates, or get the driver from the PC maker.
If Windows locks too often instead, for example while you are still at your desk, the Bluetooth signal is weak; move the phone closer to the PC or switch to a different paired phone.
Where this fits in Windows security
Dynamic lock protects the moments you step away. It does nothing for a stolen PC that is already locked, where device encryption and a strong sign-in matter more. For the bigger picture, see our Windows 11 security hub and the Windows 11 privacy settings guide.
Frequently asked questions
How quickly does Dynamic lock lock the PC?
Microsoft says Windows automatically locks within a minute after you are out of Bluetooth range. Range depends on walls, the phone and the PC's Bluetooth adapter, so the delay varies.
Does Dynamic lock unlock my PC when I come back?
No. It only locks. You still sign in with your PIN, password, face or fingerprint when you return.
Why is the Dynamic lock option greyed out or not working?
Usually no phone is paired, Bluetooth is off, or the phone's Bluetooth is off or in a power-saving state. On work PCs, the setting can also be controlled by the organization.
Can I use a smartwatch or earbuds instead of a phone?
Microsoft describes Dynamic lock as working with a paired phone. Other Bluetooth devices may appear in the list but are not what the feature is designed for, so test carefully before relying on one.
Does Dynamic lock work on Windows 11 Home?
Yes. It is part of Sign-in options on Home and Pro, as long as the PC has Bluetooth.
Sources
Windows 11 Field Guide Editorial Team
Editorial team
The Windows 11 Field Guide team writes and updates independent Windows 11 guides and checks each step against Microsoft's documentation and the current Settings app.
