Hi, I am Dave, I will help you with this.
The only method to get back into that device after remotely locking it on your Microsoft account online is to reset Windows, it is a known problem with that Lock function.
Click the power button on the login screen.
Press the Shift Key and click Restart
Your PC will boot into the Windows Recovery Environment
Go to Troubleshoot - Advanced Options - Reset this PC