wip: db:lock-create-open, db:open-db and db:get-db