This menu contains commands for setting up and controlling viewports. For ease of use, some of the commands found on this menu also appear on the viewport label menus.
Undo View Change / Redo View Change
This option is equivalent to the same option in the Lighting And Shadows tab for viewport configuration: changing the setting here changes the active setting in the preferences dialog, and vice versa.
To “lock” a light means that the light will stay on until it is unlocked, whether or not the light casts shadows. When a light is locked, choosing Display Only Selected Lights or Auto Display Selected Lights does not turn it off.