'Locks the collection.'

def lock(self):

    service_obj = bus_get_object(self.bus, SS_PATH)
    service_iface = InterfaceWrapper(service_obj, SERVICE_IFACE)
    service_iface.Lock([self.collection_path], signature='ao')
