human
I wrote the below code

    def wrapped(*args, **kwargs):
        cache_lock.acquire()
        try:
            return origfunc(*args, **kwargs)
        finally:
            cache_lock.release()
    return wrapped

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def locked_function(origfunc):