Exterior Door - Thermostat Automation

I’m using Ecobee thermostats and would like them to turn off or be disengaged when certain doors are open. I’m not seeing how that can be accomplished, am I wrong?