Scenario.Locked Property
Returns or sets a Boolean value that indicates if the object is locked.
Syntax
expression.Locked
expression A variable that represents a Scenario object.
Remarks
This property returns True if the object is locked or False if the object can be modified when the sheet is protected.