ensure lock is unlocked