For more advanced customization, such as changing what the Caps Lock key does or remapping system-level shortcuts, use the PowerToys Keyboard Manager . How to reprogram a keyboard shortcut or a function key?
Unlike Method 1, PowerToys allows:
If the app already has a shortcut on your desktop, skip to Step 2. If not: