private bool IsParentCausingLock(string configKey) {
BaseConfigurationRecord parent = _parent;
while (!parent.IsRootConfig) {
SectionRecord sectionRecord = parent.GetSectionRecord(configKey, true);
if ( sectionRecord != null &&
(sectionRecord.LockChildren || sectionRecord.Locked)) {
return true;
}
parent = parent._parent;
}
return false;
}