Core: setMaxLocks now grants locks when raised