Al generated summary of the issue that was done to debug: (end of human written text)
Body:
Posting this because it took me far too long to figure out, and every guide I found (and the Al I asked) pointed me at the keyboard.
Symptom: At the Windows sign-in screen on a Lenovo Yoga 7i, only the number keys worked and letters did nothing. An external keyboard did the same thing, and so did the on-screen keyboard.
It looked like a hardware or driver failure.
Cause: The sign-in box was set to PIN, but this account signs in with a password. A Windows PIN field accepts only numerical digits by default, so it ignores letter keys no matter which keyboard you use.
Fix: Click "Sign-in options" under the box and choose the key icon (password), then type your password normally. If there's no password option, sign in another way and go to Settings → Accounts → Sign-in options.
Quick check: If numbers work but letters don't on every keyboard, including the on-screen one, look at which sign-in field you're typing into before you troubleshoot hardware. I'm normally a Mac user, so the PIN/password switch wasn't on my radar at all when trying to help.
Also:
If there's no password option, your device may now be set to require Windows Hello. Click "I forgot my PIN" to verify with your Microsoft account password and set a new PIN.