A keyboard that seems locked usually has a feature switched on, not a hardware fault. Windows has accessibility features that ignore keys, plus lock keys ...