implement database-unlocks