Fix missing unlock logic from grunt commit