Add the ability to disable global locks in config.js