create <CFG>/.lock file to protect sharing config directory