Is there a way to put a password on the HMI?
yes, there is. Double click on the PLC in Left panel and then switch to the User rights in the main window:
As you can see, the default user is Visitor without password. You can rename the users, add or delete them and set them passwords.