Added a lock file.