Hi, I'm Bernard. I'm happy to help!
Based on your inputs, this issue might be caused by a driver issue or a hardware-related problem. To check, I recommend connecting an external keyboard and testing if it works properly. If the external keyboard works fine, this indicates that there may be an issue with the laptop's built-in keyboard. However, if the external keyboard is also not working, kindly follow the steps below to manually roll back the keyboard driver.
-Press the Windows key + X
-Go to Device Manager
-Expand the Keyboards
-Look for your Keyboard driver
-Right-click and click Update Driver
-Select Browse my computer for drivers
-Click Let me pick from a list of available drivers on my computer
-Choose an old driver or another driver name, then select it and hit next until it installs.
-Restart the PC and check.