To prevent the user from modifying the contents of the TextEditorToolBase, set this property to True. The text of the tool is still available for other operations (such as copying to the clipboard) when Locked is True. The text of the tool may be modified through code whether this property is set to True or False.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2