code: def get_lock_path(cluster_name: str) -> str:
      return os.path.join(
          get_ray_temp_dir(), "cluster-{}.lock".format(cluster_name)
      )
  
file_path: ray/python/ray/autoscaler/_private/local/config.py
imports: import copy
  import os
  from typing import Any, Dict
  from ray._private.utils import get_ray_temp_dir
  from ray.autoscaler._private.cli_logger import cli_logger
label_desc: Use image node_id 4 for calling a global function with example usage: get_lock_path(cluster_name) and returns: os