Check if the Caps Lock indicator light on the Caps Lock key is on or off.
When the indicator light is on, characters typed will appear in uppercase (or lowercase if you also hold down the Shift key).
Press the Shift+Caps Lock keys to turn the Caps Lock indicator light on or off.