How to add in a run anywhere option to security:
spctl --master-disable
From admin terminal obviously, and –master-enable to renable
Turning off gatekeeper auto lock:
defaults write /Library/Preferences/com.apple.GKAutoRearm -bool NO
And obviously the -bool YES to reenable the 30 day lockout