You can get it like this, it will also work with keys containing dots :
ConfigObject getConfigObjectFromKey(String key) {
List<String> keyParts = key.split('\\.')
ConfigObject conf = Holders.config
keyParts.each { String part -> conf = conf[part] as ConfigObject }
return conf
}