Commit lock file.