I keep pressing the Caps Lock key accidentally. I don’t know why, but I do. I think it is the most despicable key on the keyboard, but I am not willing to go to the measures that a former colleague did. He hacked the key off his keyboard.
There are ways to get notified that the button has been pressed accidentally. In the control panel there is a setting that means that each time a “lock” key (Caps Lock, Num Lock and Scroll Lock) is pressed you get notified with a beep. The setting (known as “Toggle Keys”) is part of the keyboard accessibility options.
There are two routes to the setting. The Classic route and the modern route (it depends on how you’ve got your Control Panel configured).
If you are taking the modern route (the default) you need to open the control panel and select “Ease of Access”
Then click the link that says “Change how your keyboard works”
If you are taking the classic route you need to select the “Ease of Access Center”
Then click the link “Make the keyboard easier to use”
Both routes will eventually lead to the same screen. You need to ensure that “Turn on Toggle Keys” is checked (ticked). Once the setting is turned on you can “Apply” or “Save” the settings.