simplify locking mechanics
add locking name space to key