For keyboard issues both laptop and desktop I pull out a good USB keyboard to test if this is a software issue. Do that first before attempting fixes as you don't want to break your OS over a hardware issue.
No USB keyboard? Try the on screen keyboard for a test run.
idk why it happened or what caused it but my caps lock is broken whenever i press the button it doesnt change the thing too uppercase or lowercase it does nothing and i have to hold shift to change it to uppercase and its not really that annoying but sometimes instead of holding it for uppercase for some reason its uppercase and i hold it for lowercase which is just annoying and i searched it up and either its not for windows 10 or it just simply doesnt fix it i need help

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic