code: def _acquire_lock(lock_path, out_file_path):
      with library.python.filelock.FileLock(lock_path):
          with open(out_file_path, "a") as out:
              out.write("{}:{}\n".format(os.getpid(), time.time()))
          time.sleep(2)
  
file_path: catboost/library/python/filelock/ut/test_filelock.py
imports: import os
  import time
  import logging
  import multiprocessing
  import tempfile
  import threading
  import library.python.filelock
label_desc: Use image node_id 1 for calling a global function with example usage: _acquire_lock(lock_path, out_file_path) without return types