A single AND gate will do that, or a relay if you want a mechanical solution. A circuit like this is used all the time for the "push to start, push to stop" switching arrangement on machinery. (If you push the red button momentarily the machine will stop, and it won't start again until you push the green button.)