Elektra  0.9.5
keyIsLocked

int keyIsLocked (const Key * key, elektraLockFlags what)

(bullet points are in order of appearance)

(only in PRs)