lock file commit