def METHOD_NAME(self, client_name: str, dxo: DXO):
    try:
        self.lock.acquire()
        self.log_debug(self.fl_ctx, "Acquired a lock")
        self.results.update({client_name: dxo})
    finally:
        self.log_debug(self.fl_ctx, "Released a lock")
        self.lock.release()