Preparing to provide a context-local lock object