Reference

XkbLockModifiers(3) on Linux

The text e587f903888a, as Debian 9 (Stretch) shipped it.

Locks and unlocks any of the eight real keyboard modifiers

XkbLockModifiers(3) on Linux now