Saving password option to the lock file