fix: lock DB on lock DB