f18 lock database, init