Hi, I'm Jan, I'm sorry you're experiencing this problem.
Try inspecting or testing each key on the keyboard, as there may be other keys that are problematic or stuck, preventing the other key from working or registering properly.
Or try to uninstall the keyboard drivers in the Device Manager and restart the computer.
However if that didnt work. Most likely the built-in keyboard is not working properly. You can try using an external keyboard as a temporary solution, but as long as the built-in keyboard remains connected, it may still interfere with the external keyboard and cause the same problem.
I suggest contacting your laptop manufacturer's support or a professional computer repair service to request a keyboard repair or replacement.