New lock config settings
Locking code for the scheduler