Locks the node in both the x and y directions.
        
        :param      state   <bool>

def setLocked( self, state = True ):
        """
        Locks the node in both the x and y directions.
        
        :param      state   <bool>
        """
        self._xLocked = state
        self._yLocked = state