code: def set_lock_status(use_lock):
      """
      Enable or disable the lock on the compilation directory (which is enabled
      by default). Disabling may make compilation slightly faster (but is not
      recommended for parallel execution).
  
      Parameters
      ----------
      use_lock : bool
          Whether to use the compilation lock or not.
  
      """
      get_lock.lock_is_enabled = use_lock
  
imports: from __future__ import absolute_import, print_function, division
  import atexit
  import os
  import socket
  import time
  import logging
  from six import PY3
  from contextlib import contextmanager
  import numpy
  from theano import config
label_desc: Use image node_id 5 for calling a global function with example usage: set_lock_status(use_lock) without return types