Good news is you can track and lock it, if it has windows 10. Bad news is it needs to have been logged in.when stolen. If so, you can:
1. Go to https/account.microsoft.com/devices/
2. Look for Show details (or Manage) and click it.
3. Click Find my device.
4. Click Next.
After that, you can create a short message that will appear in the Lock screen (maybe you should do that with the police) and click Lock.
5. You can also reset the password if you think your account has been compromised.
6. After completing all the steps, your laptop should be locked and trackable but you can make sure by clicking Enable location.