Hello,
- Click Power > Sleep. And wake up your computer.
- Or restart your computer.
- Before typing in your PIN, click the 'I forgot my PIN' option on the sign-in screen and follow the prompts to reset it.
See if this quick workaround helps.
If you're using a local account, you can then disable this feature by going into Local Security Policy.
Then, expand Security Settings> Account lockout policy.
Change the Account lockout threshold to 0.
(You can set the value up to 999). 0 will disable the Account lockout threshold policy.
Note: This change only works if you are using a local account. I don't think you can prevent it for a Microsoft account.