Sets whether or not this button is in its locked state.
        
        :param      state | <bool>

def setChecked(self, state):
        """
        Sets whether or not this button is in its locked state.
        
        :param      state | <bool>
        """
        super(XLockButton, self).setChecked(state)
        self.updateState()