X_STORAGE_OBJECT_LOCKED
Means
the object is under retention or a legal hold
Typical cause
a delete, overwrite or copy onto a key whose retention has not lapsed, or whose legal hold is on, was refused; the stored bytes are unchanged
Fix
disk(name).retentionOf(key) — shows the lock and its retainUntil; write to a new key, or wait until it lapses