How to Enable Automatic Device Locking Feature in Windows 11 Dynamic Lock
- 26 steps
- Needs administrator rights
- Group Policy needs Windows 11 Pro, Enterprise or Education
Dynamic Lock is a Windows 11 security feature that locks your PC automatically when you walk away, using the Bluetooth link to your paired smartphone. Here is the Windows Dynamic Lock feature explained in short: when the phone moves out of range, Windows starts a countdown of about 30 seconds and then locks the PC.
This saves you from pressing the Win+L every time you leave your desk. Setup takes less than 2 minutes. The feature only works while the phone’s Bluetooth stays on and connected. It works on both Home and Pro editions of Windows 11.
Open Settings (Win+I), go to Accounts Sign-in options, expand Dynamic lock, and tick “Allow Windows to automatically lock your device when you’re away.” Dynamic Lock needs a paired phone with Bluetooth on. When the phone moves out of range, Windows counts down about 30 seconds, then locks the PC.
Requirements Before You Begin
You need two things for Dynamic Lock. The first is a working Bluetooth adapter in your Windows 11 PC. The second is a smartphone that is turned on and paired with the PC over Bluetooth. Windows uses the Bluetooth signal between the two devices to decide when you have walked away, so both must stay connected while you use the feature.
Keep your phone with you when you test the feature later. If you leave it on the desk, Windows will never see it move away.
Step 1Pair Your Phone via Bluetooth
Pairing is the required first step. Windows can only measure signal strength to a device it already knows. Before you start, unlock your phone and open its Bluetooth settings, because you will need to make it discoverable partway through. These steps pair the phone with your PC. The steps for turning on Dynamic Lock follow in the next section and continue the same numbering.
- Press the Win+I. This opens Settings.
- Select Bluetooth & devices. It is in the left-hand navigation menu, and you should see a Bluetooth switch at the top of the page.
- Set the Bluetooth toggle to On. If there is no toggle at all, Windows does not see a Bluetooth adapter. Check Device Manager or plug in an adapter before going further.
- Click Add device. It is at the top of the window, and the Add a device window opens.
- Choose Bluetooth from the list of device types. Windows starts scanning for nearby devices.
- Turn on Bluetooth on your phone. Keep its Bluetooth settings screen open so the phone stays discoverable.
- Select your computer’s name on the phone. It appears in the list of available devices on the phone screen.
- Compare the PIN on the computer with the PIN on the phone. They must match. If they differ, cancel and start the pairing again.
- Click Connect on the PC. A pairing request should now appear on the phone.
- Accept the pairing prompt on the phone. Windows then finishes setting up the device.
- Click Done once Windows confirms the device is ready. Your phone should now appear under Devices on the Bluetooth & devices page, marked as connected or paired.
If your PC does not show up on the phone, or the pairing fails, turn Bluetooth off and on again on both devices and retry. If the phone is already listed from an earlier attempt, remove it from both sides first and pair again from scratch.
Step 2Turn on Dynamic Lock in Windows Settings
Once the phone is paired, you can enable automatic lock in Windows 11 with a few clicks by turning on Dynamic Lock. This is a per-user setting, so it applies to the account you are signed in with. If several people use the PC, each person turns it on for their own account.
- Press the Win+I if Settings is closed. If it is still open from the pairing steps, carry on from the next step.
- Click Accounts. It is in the left sidebar.
- Select Sign-in options in the main pane. A list of sign-in methods and extra settings appears.
- Scroll down to Dynamic lock and click it. The section expands to show its options.
- Check the box labeled Allow Windows to automatically lock your device when you’re away. This is the step that switches the feature on.
- Confirm that your paired phone appears directly beneath the checkbox. It is the active tracking device.
If the box is greyed out, or Windows says no paired device is available, go back to the pairing steps. Dynamic Lock needs a phone that is paired and currently connected. No restart is needed. To turn the feature off later, return to the same place and clear the checkbox.
Step 3Configure Dynamic Lock via Group Policy Editor
This editor is only available on Windows 11 Pro, Enterprise, and Education. It is not on Home. Be careful here: the Settings method above is what actually switches Dynamic Lock on for a user. The policy route is only relevant if you manage Windows Hello for Business signal rules.
The original version of this guide pointed to Windows Spotlight. That is the wrong place. Windows Spotlight controls lock screen pictures and has nothing to do with locking the PC. The path below is the one to check instead. Policy names and locations can differ between Windows builds, so confirm what you see on your own machine.
- Press the Win+R. The Run dialog box opens.
- Type gpedit.msc into the Open field and press Enter. The Local Group Policy Editor opens. If you get an error that Windows cannot find the file, you are on Home edition and this method is not available.
- Expand Computer Configuration, then Administrative Templates, then Windows Components, in the left tree. Open the Windows Hello for Business folder. Do not use the Windows Spotlight folder.
- Double-click the policy that covers dynamic lock behavior in the right-hand pane. If you cannot find a matching policy, stop here and use the Settings method instead.
- Select the Enabled radio button.
- Click Apply, then click OK. This saves your changes and closes the policy window.
To undo the change, open the same policy again and select Not Configured, then click Apply and OK.
How Dynamic Lock Works in Practice
Dynamic Lock keeps checking the Bluetooth signal between your PC and your paired phone. When you walk away and the signal drops below a set limit, Windows waits about thirty seconds. It then turns off your display and locks your desktop so your data stays protected.
If you come back within that window and the signal recovers, Windows cancels the lock. The distance that triggers a lock varies with your Bluetooth hardware class, walls, and interference from other devices. Expect it to fall somewhere between five and thirty feet.
Two things are worth knowing:
- Dynamic Lock only locks the PC. It never unlocks it, so you still sign in the normal way when you return.
- Switching off Bluetooth on the phone, or letting the phone’s battery die, looks the same to Windows as walking away, so the PC will lock.
What to do next
Test the feature before you rely on it.
- Make sure you are signed in. Check that your phone is connected by Bluetooth.
- Put the phone in your pocket and walk away from the desk. Keep going until you are well out of range, ideally through a wall or into another room.
- Wait at least thirty seconds. Your display should turn off and the PC should lock.
If nothing happens, check that the Dynamic lock checkbox is still ticked and that the phone is still paired and connected. Also remember that the range can be generous, so try a greater distance.
Once that works, you can look at other sign-in protections, such as Windows Hello facial recognition or other biometric sign-in options. These need compatible hardware, such as an infrared camera or a fingerprint reader.
Have a question about this guide?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
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.
No comments yet — be the first to share your thoughts!