How To Enable Automatic Device Locking Feature In Windows 11 Dynamic Lock
Dynamic Lock is a Windows 11 security feature that locks your PC automatically when you walk away from it. The system monitors your paired smartphone via Bluetooth and starts a 30-second lock countdown the moment your phone moves out of range.
You avoid having to press the Win plus L every time you leave your desk. Set up takes less than 2 minutes, but you need a phone that stays connected by Bluetooth to keep the feature working.
Open Settings Accounts Sign-in options, expand Dynamic lock, and check the box to allow Windows to automatically lock your device when you are away. This enables Dynamic Lock, a built-in security feature that locks your PC when your paired Bluetooth phone moves out of range.
Requirements Before You Begin
Your computer will use the Bluetooth signal strength between these two devices to figure out when you walk away, so both devices must stay connected while you use this feature.
If your computer lacks Bluetooth capabilities, the configuration menus will not display the required options.
Step 1Pair Your Phone via Bluetooth
Pairing your phone to your Windows 11 PC via Bluetooth is the required first step to use Dynamic Lock because Windows needs an active connection to measure the signal strength between the devices. Open Settings by pressing the Win+I, select Bluetooth & devices from the menu, and turn on the main Bluetooth switch before connecting your phone.
- Open Settings by pressing the Win+I keyboard shortcut.

Windows 11 Start menu with Settings gear icon highlighted. - Select Bluetooth & devices from the left-hand navigation menu.

- Toggle the main Bluetooth switch to the On position if it is currently disabled.
- Click the Add device button at the top of the window.

Windows 11 Bluetooth and devices settings with add device option. - Choose Bluetooth from the “Add a device” selection window.
- Enable Bluetooth discovery on your mobile phone and select your computer’s name from the list of available devices on your phone screen.
- Verify that the PIN numbers match on both your computer and your phone. Click Connect and accept the pairing prompt on your mobile device.
- Click Done once Windows confirms the device is ready.
Step 2Turn on Dynamic Lock in Windows Settings
Turning on Dynamic Lock in Windows 11 takes just a few clicks once your phone is paired to your computer. Open Settings by pressing the Win+I, click Accounts in the left sidebar, select Sign-in options, and scroll down to the Dynamic lock section to check the box that allows Windows to automatically lock your device when you’re away.
- Open Settings by pressing the Windows key + I.
- Click on Accounts in the left sidebar.

Settings › Accounts - Select Sign-in options from the main display pane.

Settings › Accounts › Sign-in options - Scroll down to find the Dynamic lock section and click to expand it.

Windows 11 Dynamic Lock settings screen showing pairing options. - Check the box labeled "Allow Windows to automatically lock your device when you're away".
- Confirm that your paired phone appears directly beneath the checkbox as the active tracking device.
Step 3Configure Dynamic Lock via Group Policy Editor
Configuring Dynamic Lock through the Local Group Policy Editor lets you enforce the automatic locking feature at the system level on Windows 11 Pro, Enterprise, and Education editions. Press the Windows key + R to open the Run dialog box, type gpedit.msc into the field, and press Enter to launch the editor and set up your policy rules.
- Open the Run dialog box by pressing the Windows key + R.
- Type gpedit.msc into the open field and press Enter to launch the Local Group Policy Editor.
- Navigate through the left tree directory to Computer Configuration, then Administrative Templates, then Windows Components, and finally Windows Spotlight. (Verification Required: Group Policy path for Dynamic Lock should be confirmed, as it typically resides under Computer Configuration Administrative Templates Windows Components Windows Hello for Business or device lock policies).
- Double-click the policy setting governing automated locking behaviors.
- Select the Enabled radio button.
- Click Apply, then click OK to save your changes and close the policy window.
How Dynamic Lock Works in Practice
Dynamic Lock works by continuously checking the Bluetooth signal strength between your Windows 11 PC and your paired phone. When you walk away and the signal drops below a set limit, Windows waits about thirty seconds before turning off your display and locking your desktop to keep your personal data secure.
If you return within that window and the signal strength recovers, the system cancels the lock sequence. The exact physical distance required to trigger a lock varies based on your Bluetooth hardware class, physical walls, and environmental interference, generally ranging between five and thirty feet.
What to do next
Test your newly configured security feature by walking away from your desk with your paired phone in your pocket and waiting thirty seconds. You can now explore additional Windows security enhancements, such as setting up Windows Hello facial recognition or configuring biometric sign-in requirements for enhanced account protection.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!