$darkmode
Elektra 0.9.12
keyLock

int keyLock (Key * key, elektraLockFlags what)

(bullet points are in order of appearance)

(only in PRs)

Also check return values of function in tests