The same happens in my computer. I couldn’t find a pattern for this. It seems to happen ramdomly. Last time that happened, I was accessing the aliexpress.com website. The keyboard worked only on the fields “Username” and “password”. After this, my keyboard (just the letters and numbers) stopped working everywhere (microsoft office, windows explorer, etc.). The function keys like ctrl + c, control + v, volume and brightness were working normally. My computer is a Samsung X45, I mostly use Firefox (it is up to date) but it happens with all browsers I use (chrome and opera), my windows is 10 (up to date). I had to restart the computer. Here are some details: LAPTOP-7R7S0NJ5, Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz 2.11 GHz, 8,00 GB, 64-bits, Windows 10 Home Single Language, 21H1