How often has it happened that you have inadvertently hit the Caps Lock key and continued to type? While the Caps Lock key is a useful tool, when you want to write everything in capitals, it can create problems, if you have accidentally clicked on it and everything gets typed in capitals. This can create problems, especially when typing passwords.
Enable Caps Lock notification or warning
Enable caps lock notification! In Windows 10/8/7, you can set it so that a warning tone is heard when you press the Caps Lock, Num Lock, or Scroll Lock keys.
To enable this feature, open Control Panel > Ease of Access Center > Make the keyboard easier to use.
Check the Turn on Toggle Keys checkbox.
Click Apply > OK.
Now you will hear a tone when you press Caps Lock, Num Lock, or Scroll Lock.
Windows will play an alert beep warning each time you press the Caps Lock, Num Lock, or Scroll Lock keys. These alerts can help you prevent accidentally pressing this key.
Hope this small tip helps!
See this post if Caps Lock is key not working.