I think this will work

I made it so you have 3 chances to make the correct password,
if it is wrong you can just change it yourself