Manual MQTT Alarm selective delay

I am brand new to HA and trying to get my alarm up and running. I need an example for a per-zone trigger/delay. For example, when away, I want a 30 second delay if the door opens to allow for disarm - but if a window or motion sensor fires I want to trigger the alarm immediately. - thanks

Can anyone chime in with a sample config? - thanks