Update lock_files.py

added an error message if the password file does not exist