As @TotallyInformation suggests, the key is to use a trigger
node to send a pair of messages one minute apart when the door opens. There are many ways to use those messages to block signals from the motion sensor. I think that for a beginner the simplest way is to use the gate node (node-red-contrib-simple-gate). This flow should give you the general idea:
[{"id":"5e6daaca.bb46bc","type":"inject","z":"6d60db6b.03942c","name":"door opens","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":640,"wires":[["636503b1.bd70a4"]]},{"id":"636503b1.bd70a4","type":"change","z":"6d60db6b.03942c","name":"topic='control'","rules":[{"t":"set","p":"topic","pt":"msg","to":"control","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":300,"y":640,"wires":[["b5c599d0.be505"]]},{"id":"b5c599d0.be505","type":"trigger","z":"6d60db6b.03942c","op1":"close","op2":"open","op1type":"str","op2type":"str","duration":"10","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":470,"y":640,"wires":[["3a37877e.e1f3f"]]},{"id":"3a37877e.e1f3f","type":"gate","z":"6d60db6b.03942c","name":"","controlTopic":"control","defaultState":"open","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":630,"y":700,"wires":[["f2ea7904.9bac7"]]},{"id":"6d1db02e.e470c","type":"inject","z":"6d60db6b.03942c","name":"motion sensed","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":460,"y":700,"wires":[["3a37877e.e1f3f"]]},{"id":"f2ea7904.9bac7","type":"debug","z":"6d60db6b.03942c","name":"motion detected","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":780,"y":700,"wires":[]}]
The contact and motion sensors are simulated by inject
nodes, and the time between messages is set to 10 seconds instead of one minute for the demonstration.