code: def _make_lock_path(self, lock_name_base):
          
  
          # For lock prefix validation, separate file name from other path
          # components, as we care about the name prefix not path prefix.
          base, name = os.path.split(lock_name_base)
  
          lock_name = self._ensure_lock_prefix(name)
          if base:
              lock_name = os.path.join(base, lock_name)
          return pipeline_filepath(self, filename=lock_name)
docs: Create path to lock file with given name as base.
          
          :param str lock_name_base: Lock file name, designed to not be prefixed 
              with the lock file designation, but that's permitted.
          :return str: Path to the lock file.