Reference

XkbLatchModifiers(3) on Linux

The text e23f87bca15b, as Debian 12 (Bookworm) shipped it.

Latches and unlatches any of the eight real keyboard modifiers

XkbLatchModifiers(3) on Linux now