Obtain lock to avoid running multiple creates