def METHOD_NAME(fn):
    """Synchronization for object methods using self.lock"""
    def wrapper(self, *args, **kwargs):
        with self.lock:
            return fn(self, *args, **kwargs)
    return wrapper