reduced Cfg.lock scope