preliminary - quite incomplete preliminary lock support for containers