add lock primitives we can use. TODO: make a magic room named all.