Go to https://account.microsoft.com/devices on a browser
Select your phone then lock it it will ask you to use a 6 digit code. The phone will lock and write goodbye.
Restart it and use the code to unlock it and the message will be gone and you will be at your start screen.
Ensure ur phone is...