Throws an exception if the toolbox item is currently locked.
The ToolboxItem.CheckUnlocked method throws an InvalidOperationException if the ToolboxItem.Locked property of the System.Drawing.Design.ToolboxItem is set to true.