def on_lock_layout ( self ):
        self.sizer.ToggleLock()
        self.update_layout()

    #---------------------------------------------------------------------------
    #  Handles the user requesting that the layout be saved:
    #---------------------------------------------------------------------------
Handles the user requesting that the layout be locked/unlocked.
dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow.on_lock_layout