Temporarily halting a sensor? (help)

Thanks for the pointers on the code. Yeah, I want sensor2 to stop triggering for about 3 minutes.