def lock(self, instance_id):
        '''
        Lock an instance
        '''
        nt_ks = self.compute_conn
        response = nt_ks.servers.lock(instance_id)
        return True
def lock ( self , instance_id ) : nt_ks = self . compute_conn response = nt_ks . servers . lock ( instance_id ) return True
Lock an instance