Cannot assign hotkey to caps lock/shift lock key

I’m really curious about how you’d do this. I’m trying to get a halfway-decent grid-layout and that’s already difficult enough.
At the moment you also can’t assign anything to the F-keys.

I’m not sure if using capslock-key is an equally great idea, since people do like playing diplomacy on occasion. But it definitely should be an option.