The problem might be with your keyboard. To verify this, connect another keyboard and observe the results. If the problem disappears, it might mean your keyboard is faulty or that its Caps Lock key ...
Perhaps it should have occurred to me years ago, but it wasn’t until recently that I fully realized that everybody hates something about their computer keyboard. I was in the company of several family ...