[OEM-109] added a config option to define the event locking time period and a kill switch to disable it entirely.
Merge branch 'rc/1.5-hotfix4' of github.com:openeyes/OpenEyes into rc/1.5-hotfix4