Create a virtual switch that is turned on with automation instead of the harmony itself. Then a separate automation that, when this virtual is turned on. If the switch is already on, then it can’t be turned back on unless it’s been switched to off. Then you can decide what should turn it off— one of you leaving the house, the door locking, etc.