Commit the lock file