Please provide some more information on this problem.
What happened on your laptop before you saw that login error, did you log into your Microsoft account online and click the Lock button in the 'Find My Device' section to lock your laptop?
Is that your own personal laptop or provided by an organization, and is your laptop connected to a work or school account?