Block sensor when a button is pressed


Is it possible to to do this and how?

If a button is pressed this sensor is blocked for XX time.

The button event starts a timer and that timer is a condition for the motion automation is the strategy I think I would try first.