docstr: Returns a non-recursive lock object
docstr_tok: ["Returns","a","non-recursive","lock","object"]
code: def Lock(self):
      """Returns a non-recursive lock object"""
      from .synchronize import Lock
  
      return Lock(ctx=self.get_context())
  
imports: import os
  import sys
  import threading
  from .None import process
  from .None import reduction
label_desc: Use image node_id 4 for calling the BaseContext obj's underlying member method code with example usage: obj.Lock() and returns: Lock