class_docstr: Wrapper class of threading.Lock(), which is allowed by 'with'.
code: def __new__(cls):
      self = object.__new__(cls)
      self._lock = threading.Lock()  # pylint: disable=protected-access
      return self
  
imports: import threading
  import warnings
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 1 for calling the _Lock obj's underlying member method code with example usage: obj.__new__(cls) and returns: self