Two relays driven by in switch input ?

You just need to record the value of millis() when the relay is first actuated and then ignore any switch inputs until a suitable interval has elapsed.

...R