Here's some things that could be improved!
Just by reading your code (I haven't even tested it, and I won't, there may be more):
- the passwords you set in the file can't be used, in fact, the password "passwordmain" will always work
- the password is readable while you're typing it
- os.pullEvent is never restored after running the password lock
- the password lock can never be stopped
- it can only run a program named "ID"
- it's simple enough someone could code it themselves, customized to their needs, if they really felt a need for it
If you're going to release a program on the forums, please put a little more effort into it. And test it first, I can see a syntax error in your code (although, you did catch it earlier and fix the pastebin).
Edited by LoganDark2, 23 January 2018 - 12:49 PM.