def _lockForSwitch(self):
        self._locked = True
Lock this binary protocol so that no further boxes may be sent.  This
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/amp.py/BinaryBoxProtocol._lockForSwitch