pub type Lock = LockEntity;
pub struct Lock { pub kind: LockKind, }
kind: LockKind
Kind of lock primitive.