Try to boot in Safe mode or if possible create another user account with same privileges.
Open:
C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\NGC.
In NGC folder delete all the files. To do so you must be logged as Administrator.
After removing all files from NGC directory, you need to recreate your PIN by following these steps:
Open Settings app by pressing Windows Key + I.
When Settings app opens, navigate to Accounts section.
From the menu on the left select Sign-in options
Click the Add button in the PIN section.
Enter the desired PIN twice. Once you’re done, click OK to save changes.
If deleting NGC folder didn’t solve the problem, you can use ‘I forgot my PIN‘ option. Here’s how to do that:
Go to Settings > Accounts.
Next, go to Sign-in options and choose I forgot my PIN.
Follow the instructions and enter your Microsoft account password and you’ll be able to set a new PIN code or use the old one instead.