Reference

XkbLockGroup(3) on Linux

The text edf160b22d2b, as Debian 10 (Buster) shipped it.

Locks the keysym group

XkbLockGroup(3) on Linux now