class_docstr: A shared, distributed Lock. Using Redis for locking allows the Lock
  to be shared across processes and/or machines.
  
  It's left to the user to resolve deadlock issues and make sure
  multiple clients play nicely together.
code: def __exit__(
      self,
      exc_type: Optional[Type[BaseException]],
      exc_value: Optional[BaseException],
      traceback: Optional[TracebackType],
  ) -> None:
      self.release()
  
imports: import threading
  import time
  import uuid
  from types import SimpleNamespace, TracebackType
  from typing import Optional, Type
  from redis.exceptions import LockError, LockNotOwnedError
  from redis.typing import Number
label_desc: Use image node_id 4 for calling the Lock obj's underlying member method code with example usage: obj.__exit__(exc_type, exc_value, traceback) without return types