Python reading .txt files

Hello guys, I’m making some program where I need to read text form .txt file but I don’t want users to be able to read it too. I was thinking about encryption but found some program for locking files named Lock My Folders, I don’t have idea neither experience how to open .txt when its locked with password. What’s best solution for that?