change the unlock routines to be less aggressive and yet still be effective