Fixing bug (typo) in else statement of unlock function