switched lock to gate interrupt