human
Give me a the Python code you requested given the following:
Complete the below
def horcmgr_synchronized(func):

    ''''Synchronize CCI operations per CCI instance.'
    '''
assistant
#Here is the Python code you requested.
    @functools.wraps(func)
    def wrap(self, *args, **kwargs):
        'Synchronize    CCI    operations    per    CCI    instance.'
        @coordination.synchronized(self.lock[args[0]])
        def func_locked(*_args, **_kwargs):
            'Execute    the    wrapped    function    in    a    synchronized    section.'
            return func(*_args, **_kwargs)
        return func_locked(self, *args, **kwargs)
    return wrap