How To Enable Automatic Device Locking Feature In Windows 11
Dynamic Lock in Windows 11 locks your PC automatically when you walk away by tracking the Bluetooth signal of a paired phone. When you step out of range for about one minute, Windows secures your desktop so no one else can see your screen.
Your PC needs a built-in Bluetooth adapter or a USB dongle, plus a smartphone that stays with you. Open Settings Bluetooth & devices to pair your phone before you turn on this feature.
Open Settings Accounts Sign-in options, expand Dynamic lock, and check Allow Windows to automatically lock your device when you are away. This enables Dynamic lock (a security feature that locks your screen via Bluetooth when you walk away), securing your desktop within seconds after your paired phone moves out of range.
Pairing Your Mobile Device via Bluetooth
Pairing your mobile device via Bluetooth is the required first step to set up automatic locking in Windows 11. Windows uses the active Bluetooth connection between your computer and your phone to track your physical distance. If the pairing drops or you turn off Bluetooth, the locking feature stops working.
- Open Settings by pressing the Win and the I key together.

Windows 11 Start menu with Settings gear icon highlighted. - Click on Bluetooth & devices in the left-hand menu.

Windows Settings menu highlighting the Bluetooth and devices option for printers - Ensure the main Bluetooth toggle switch is turned on at the top of the window.
- Click the Add device button near the top.
- Select Bluetooth from the Add a device window list.

Windows 11 Bluetooth and devices settings with add device option. - Choose your smartphone from the list of discovered hardware.
- Confirm that the PIN numbers match on both your computer screen and your phone display, then click Connect on your PC and accept the pairing prompt on your mobile device.
- Click Done once the pairing notification confirms both devices are connected.
Enabling Dynamic Lock in 🪟 Windows 11 Settings
Enabling Dynamic Lock in Windows 11 Settings lets your computer lock itself automatically when you walk away. Once your phone is successfully paired via Bluetooth , you can turn on this automatic locking feature inside the Accounts menu under Sign-in options.
- Open Settings using the shortcut keys Win plus I.
- Click on Accounts in the left-hand navigation pane.

Settings › Accounts - Select Sign-in options from the main accounts page choices.

Settings › Accounts › Sign-in options - Scroll down the page until you locate the Additional settings section.
- Click on the Dynamic lock heading to expand the hidden menu options.

Windows 11 Dynamic Lock settings screen showing pairing options. - Check the box next to “Allow Windows to automatically lock your device when you’re away” to activate the feature.
Windows will now attempt to communicate with your paired phone. If a checkmark appears and the feature stays active, your system recognizes the wireless link. Walk away from your computer carrying your phone to test the mechanism. The screen should turn off and lock itself after a brief period of signal loss.
Alternative Auto-Lock Methods Using Screen Savers
Alternative auto-lock methods using screen savers secure your computer after a set time of keyboard and mouse inactivity instead of monitoring your phone’s location. This works well if your phone does not support reliable Bluetooth connections or you prefer not to use wireless tracking.
- Open the Start menu search bar, type
screen saver, and press Enter to open the classic screen saver settings window. - Locate the Screen saver drop-down menu and select any available option, or leave it set to (None).
- Check the box next to "On resume, display logon screen".
- Click the up or down arrows in the Wait box to set your preferred idle time in minutes.
- Click Apply, then click OK to save your new inactivity timeout settings.
Configuring Dynamic Lock via Group Policy
Configuring Dynamic Lock via Group Policy lets administrators enforce automatic device locking across multiple computers in a workplace. This method requires administrator privileges and allows you to manage system policies rather than setting up each computer by hand.
- Press the Windows key plus R to open the Run dialog box.
- Type
gpedit.mscand press Enter to launch the Local Group Policy Editor. - Navigate through the left directory tree to Computer Configuration, Administrative Templates, Windows Components, and then Windows Hello for Business.
- Locate and double-click the policy setting governing automatic device locking based on presence.
- Select the Enabled radio button.
- Click Apply, then click OK to enforce the policy across the local machine.
If this didn't work
If Dynamic Lock still fails to work after you verify your Bluetooth settings and try alternative inactivity timers, your Bluetooth adapter might lack low-energy peripheral tracking support. You can fix this by updating your Bluetooth drivers through Device Manager or plugging in a modern USB Bluetooth dongle.
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!