ConfigurationLockCollection.Add Method (String)
Locks a configuration object by adding it to the collection.
Assembly: System.Configuration (in System.Configuration.dll)
Occurs when the name does not match an existing configuration object within the collection.
Adding a configuration object to the ConfigurationLockCollection collection specifies that the configuration object is locked and cannot be modified until it has been removed from the collection.
Available since 2.0