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

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. 

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.  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. 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.