Hello Iola W,
Your Windows PIN and Microsoft account password are two different things, so forgetting your laptop's PIN doesn't necessarily mean you need to recover your entire Microsoft account.
Before trying account recovery, let's check whether Windows offers another way to sign in.
- On your laptop's sign-in screen, select Sign-in options below the PIN box.
- If you see a password option (key icon), select it and try signing in with your Microsoft account password.
- If Web sign-in is available instead, select it and follow the prompts.
- If you can sign in, go to Settings > Accounts > Sign-in options > PIN (Windows Hello) and select I forgot my PIN to create a new one.
Regarding the passkey prompt, you don't need to keep scanning the QR code if your phone doesn't have a passkey saved. Try cancelling that prompt and look for Other ways to sign in or Sign-in options to see whether password or email verification is available.
If none of these options appears, could you confirm two things?
- Can you still sign in to your Microsoft account on another device, such as your phone, through a browser?
- On the laptop's sign-in screen, do you see Sign-in options, or only I forgot my PIN?
That will help us determine the next recovery step without unnecessarily resetting Windows or risking your files.
Microsoft's instructions: https://support.microsoft.com/en-gb/windows/security/change-or-reset-your-pin-in-windows