If you lost your device this method will help you
Enable the Find My Device Feature
The Find My Device feature is only available on Windows 10/11. The feature allows you to locate your lost or stolen device. You can even use it to lock your device or erase the data remotely.
🢚 First of all, open the Start menu and click on Settings.
🢚 On the Settings, click on the Update & Security/Privacy & Security option and click on the Find my Device option.
🢚 Enable the toggle button behind Find my device.
🢚 That’s it! You are done. Now, if you have lost your device, you need to click on the See all your devices linked to your account option.
🢚This will take you to Microsoft’s official Find my Device webpage. There select the device, and you will see the location details. Also, you can lock your device from the My Devices page.
That’s it, it will only allow you to lock the lost or stolen device.