'Lock this binary protocol so that no further boxes may be sent.  This
is used when sending a request to switch underlying protocols.  You
probably want to subclass ProtocolSwitchCommand rather than calling
this directly.'

def _lockForSwitch(self):

    self._locked = True
