def METHOD_NAME(self):
    if verbose:
        print '\n', '-=' * 30
        print "Running %s.test01_simple..." % self.__class__.__name__
    anID = self.env.lock_id()
    if verbose:
        print "locker ID: %s" % anID
    lock = self.env.lock_get(anID, "some locked thing", db.DB_LOCK_WRITE)
    if verbose:
        print "Aquired lock: %s" % lock
    self.env.lock_put(lock)
    if verbose:
        print "Released lock: %s" % lock
    self.env.lock_id_free(anID)