My laptop's keyboard was the similar issue as yours, I typed some words, and it sometimes didn't follow my needs, my brand is Acer, I sent it back to the repairer, it's hard to repair, and told me it may be related chips, so I gave up. After years, it's recovered by itself. I know that's weird. sometimes people said it's too damp or seldom use it(true, I was) Good Luck!