You probably still have to find the thief, the lock probably takes him a turn to unlock giving you a chance to get to him.