I don’t know if I am being hacked

What you have described are not the symptoms of a hack. It sounds like something is broken on your keyboard, and something was dropped something on it. You will need to get the keyboard physically repaired.


I am wondering if someone might have hacked my password.

No.

'Strange behaviour' is not usually the symptom of hacking or malware. Such activity wants to go unnoticed. Malware wants to sit on your computer quietly, without attracting attention, harvesting your keystrokes or other data.

Hackers also are unlikely to change your password, but to keep using it quietly. (And likely we're talking about automated processes that are using stolen databases of passwords and usernames - no individual is singling you out, unless you're of interest to a nation state or commercial espionage.)

Given the fact that you mention damage to your keyboard, and then problems using it, then that's the much more likely cause.