Simple Automation Triggers While Restricted

I read up on it. If you restrict trigger and pending actions, say the restriction happens after the initial trigger (turn light on at 7a), then the light will not turn off at 10p for example. Restricting only the trigger should allow the automation to shut the light off at 10p.
Restriction Options for Basic Rule, Simple Automation Rule and Rule 5.1