Reference

XkbLatchModifiers(3) on Linux

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

Latches and unlatches any of the eight real keyboard modifiers

XkbLatchModifiers(3) on Linux now