Reference

XkbSetIgnoreLockMods(3) on Linux

The text d41cd0af9875, as Debian 13 (Trixie) shipped it.

Sets the modifiers that, if locked, are not to be reported in matching events to passive grabs

XkbSetIgnoreLockMods(3) on Linux now