Lock config when read prolog_frontend