I reset my laptop to factory settings now can't sign in

Have you linked the account correctly after the recovery?
Keyboard layout set correctly?
Try your ms account password to sign in instead of pin code as that will allow you to sign in and reset the pin code if thats the issue