Hi Nayeon, I understand you are getting an error when signing in with your PIN. This usually happens when the Windows Hello PIN component is corrupted. Try signing in with your password, then go to Settings > Accounts > Sign-in options, remove your current PIN, restart your PC, and set up a new one.
Make sure your Microsoft account is properly connected under Accounts > Access work or school.
Regards,
Arlene D.