X
Tech
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

How to automatically lock your Windows PC with Dynamic Lock

Walk away from your PC with your phone, and Dynamic Lock will lock Windows for you.
Written by Lance Whitney, Contributor
Reviewed by Min Shin
Windows 10 at the Lock screen

Dynamic Lock will automatically place Windows in Lock mode if you leave the scene with your smartphone.

Screenshot by Lance Whitney/ZDNET

Windows 10 and 11 both offer a Dynamic Lock feature that can automatically put your PC into lock mode. To pull off this trick, first pair your smartphone with Windows. Then, just walk away with your smartphone in hand or pocket. 

When your PC detects that your phone is no longer around, Windows transitions to lock mode and stays there until you return and sign back in. 

Also: You can now send and receive iMessages on Windows now. Here's how

The feature works the same in Windows 10 and 11. Let's see how this plays out.

How to use Dynamic Lock in Windows 10 or 11

1. Turn on Bluetooth in Windows

Dynamic Lock uses Bluetooth to communicate between your computer and smartphone, so the first step is to make sure Bluetooth is enabled on both devices. In Windows 10, go to Settings > Devices > Bluetooth & other devices and confirm that Bluetooth is on. In Windows 11, head to Settings > Bluetooth & devices and do the same.

Bluetooth setting in Windows 11

Turn on the switch for Bluetooth.

Screenshot by Lance Whitney/ZDNET

2. Turn on Bluetooth on your phone

On an iPhone, go to Settings > Bluetooth and turn on the switch for Bluetooth. 

On an Android phone, just swipe down from the top of the screen to access the quick settings menu and tap the Bluetooth icon to turn it on. 

Bluetooth settings screen on an iPhone and Android phone

Turn on Bluetooth on your iPhone or Android phone.

Screenshot by Lance Whitney/ZDNET

3. Pair your phone with Windows 10 or 11

The next step is to pair your phone with Windows, a process that differs between an iPhone and an Android device. 

iPhone

To pair your iPhone in Windows 10, go to Settings > Devices > Bluetooth & other devices and click Add Bluetooth or other device. Select Bluetooth, and your computer will search for nearby devices.

The iPhone pairing process is basically the same in Windows 11. Go to Settings > Bluetooth & devices on your computer and click the Add device button. Select Bluetooth from the popup window.

Android 

To pair your Android phone with Windows 10, go to Settings > Devices > Bluetooth & other devices on your PC and click Add Bluetooth or other device. Select Bluetooth, and your computer will search for nearby devices. On your Android phone, go to Settings and look for a category called Connections or Connected Devices. Tap the button for Pair new device.

Also: How to link your Android phone to your Windows 11 PC

The name of your Android phone should then appear in the list. Click its name to start the pairing. A PIN pops up. Tap OK on your phone and Connect on your PC to connect the two. Your phone appears in the list of items paired with your PC.

To pair your Android device with Windows 11, go to Settings > Bluetooth & devices on your PC, click Add device, and select Bluetooth. On your Android phone, go to Settings and then Connections or Connected Devices. 

Also: How to uninstall Windows 11 on your PC 

Tap the button for Pair new device. Select your Android phone in the list to pair it with your PC. After the PIN pops up, tap OK on your phone and Connect on your PC to pair the two. 

The Bluetooth option for adding a device

Choose Bluetooth to add your phone to Windows.

Screenshot by Lance Whitney/ZDNET

4. Confirm the PIN

In Windows 10, head to the Bluetooth settings screen on your iPhone and select your Windows PC under Other Devices. Your iPhone appears in the Bluetooth list on your PC. Click the entry to pair it with your computer. A PIN pops up to be used for pairing. Tap Pair on your iPhone and click Connect on your PC. Click Done on your PC, and your iPhone shows up in the list of items connected to Windows.

In Windows 11, segue to the Bluetooth settings screen on your iPhone. Select your Windows PC under Other Devices. Choose your iPhone in the Bluetooth list on your computer to pair it. 

Also: How to transfer photos from your iPhone to your Windows PC

The PIN pops up. Tap Pair on your iPhone and Connect on your PC to pair the two devices and then allow the pairing. Your iPhone appears as a connected device.

The PIN appears on your PC and phone

Confirm the PIN on your PC and phone.

Screenshot by Lance Whitney/ZDNET

5. Turn on Dynamic Lock

After your phone is paired with Windows 10 or 11, go to Accounts > Sign-in options on your computer. Scroll to the bottom of the Sign-in options page to the section for Dynamic Lock. Check the box that says Allow Windows to automatically lock your device when you're away. The name of your paired device should appear under this option, indicating that Dynamic Lock is now good to go.

The Dynamic Lock switch turned on

Turn on Dynamic Lock.

Screenshot by Lance Whitney/ZDNET

6. Try Dynamic Lock

To test Dynamic Lock, make sure Windows is unlocked. Walk away from your PC with your phone. How far do you need to travel? Bluetooth's signal range varies based on its version. For example, Bluetooth version 4.x has a range of 200 feet, while Bluetooth 5.x can go as far as 800 feet. But walls, furniture, and other physical items will block or interfere with the signal. For my testing, I went as far as I could in my home.

Also: How to change your Android device name to simplify Bluetooth connectivity 

Assuming you've trekked far enough, return to your computer and hopefully you'll find Windows in Lock mode. To sign back in, just dismiss the Lock screen and enter your PIN or use your face or fingerprint if one of those Windows Hello methods is enabled.

In my testing, I was able to get my Windows 10 desktop and Windows 11 laptop to all jump into Lock mode when I traveled far enough with an iPhone or an Android phone. For that reason, this can be a great way to automatically lock your computer and get some exercise to boot.


Editorial standards