Don't panic, just read this
How to Lock/Unlock the Keyboard on a Windows 10 PC or Laptop
There is perhaps no glitch more frustrating than a frozen keyboard. It is one thing to freeze your entire PC, but quite another to have your keyboard become unresponsive.
It’s even worse on a laptop, because the keyboard isn’t just a cheap wired peripheral that you can easily replace. Still, there’s no need to panic.
A locked keyboard can be caused by a number of factors other than hardware failure, and most of them are pretty easy to fix. Here are all the methods to get a locked keyboard working again in Windows 10 and Windows 11.