lock database

Lock database