Core: Allow locks to be acquired with no callback