I am a long time HE user and found I had "rule sprawl" with switches and locks triggering off modes. Last summer I requested that a table like interface be created where you could simply check which switches turn on/off by mode and Bruce created Mode Switches. You can read about this app in this thread.
I improved upon it adding dimmer and lock capabilities and recently added a retry since I was also having a few switches not get set. It will loop through the switches and if it is not in the appropriate state it will try it again.
You can find my version of the app called Mode Device Manager here:
https://raw.githubusercontent.com/mlritchie/Hubitat/master/Apps/Mode%20Device%20Manager/mode_device_manager.groovy