'Instance depends on the API version:
* 2015-01-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2015_01_01.operations.ManagementLocksOperations>`
* 2016-09-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2016_09_01.operations.ManagementLocksOperations>`'

@property
def management_locks(self):

    if (self.api_version == '2015-01-01'):
        from .v2015_01_01.operations import ManagementLocksOperations as OperationClass
    elif (self.api_version == '2016-09-01'):
        from .v2016_09_01.operations import ManagementLocksOperations as OperationClass
    else:
        raise NotImplementedError('APIVersion    {}    is    not    available'.format(self.api_version))
    return OperationClass(self._client, self.config, self._serialize, self._deserialize)
