Reference

XkbLockModifiers(3) on Linux

The text e787b0a247ae, as Debian 11 (Bullseye) shipped it.

Locks and unlocks any of the eight real keyboard modifiers

XkbLockModifiers(3) on Linux now