Ok, is visitor mode the only mode you want the autolock disabled in?
@Tolik ignore that question .
Ok, here’s a simple idea. See if this works for you.
In the actions for true list all of the modes you want the autolock featured disabled. That way it’s disabled in any mode that would make the rule false.
You can also do this as a manual enable/disable.
Create a virtual switch.
Create another rule like this
Conditions - VS on
Rule - VS on
True - enable autolock
False - disable autolock
Then add the VS to be turned off in the section of the original rule that disables the autolock. That gives you manual control for those unexpected times.