There are situations when you get away from your laptop to do any work or grab a cup of coffee but you forget to lock your laptop. Well! You wouldn't want anyone to Would you? This is where cool new Dynamic Lock feature of windows 10 comes in the play. Dynamic lock of windows 10 automatically locks your PC when you are away. You have to enable it by first pairing your phone to your PC via Bluetooth. Then head to Settings go to Accounts and then go to Sign-in option. Here scroll down below and then check the option under Dynamic lock. Now whenever you move away from your laptop with your phone your laptop will automatically be locked. Do note that this feature is only available in Creators Update.
For more details