Add lock file