How to resolve freezes when pressing caps lock on external keyboard
This has happened to me on two different Macs with 3 different bluetooth keyboards. Two Apple keyboards and one Logitech. The symptom is always the same, intermittently the keyboard will freeze for about 5 seconds after hitting the caps lock key.
Restarting the computer will often resolve the issue for a short time but an SMC reset normally resolves the issue more long term.
I have had this experience over the last 5 years and have found documentation of others having the exact same issue for over a decade. It's obviously a larger underlying issue and I'm not sure why it persists.