config file locking