Database locking, ctd.