switch signal and unlock