Locks database cookbook version