def get_lock(self, name):
return self.proxy.get_or_create(LOCK_SERVICE, name)<EOL>
Returns the distributed lock instance with the specified name.

:param name: (str), name of the distributed lock.
:return: (:class:`~hazelcast.proxy.lock.Lock`), distributed lock instance with the specified name.