property Editor.Locked as Boolean
Determines whether the editor is locked or unlocked.

TypeDescription
Boolean A boolean expression that indicates whether the editor is locked.
Use the Locked property to lock an editor. By default, the Locked property is False. If the Locked property is True, the editor is locked. For instance, if the EditType property is EditType, and Locked property is True, the edit control is read-only, and so the user can type new text inside. Use the Visible property to hide the editor. Use the Enabled property to disable the control.