Adding error message for the lock file.