Door with Password

Is it possible to create a door that needs a password to open other than using the method where you have to create a dummy actor, as I don't want to use an actor to tell the player a password but rather a item that is a 'file' that they can pick-up, and when they come to the door they need to input the password they got from the item. 
What's wrong with the dummy actor method exactly? You don't have to actually put the actor in game, you would just put the word "password" in the actors name slot and when you input the password bring up the name select screen and underneath use a conditional branch that "password" = whatever the password is. You could still put the password on an item or whatever else you wanted to do with it.
OK thanks, I didn't know that I didn't have to put the actor on the map, I'm still kind of new to RPG Maker. I'll give this method a try. 
Or since they already picked up the item, why not just check if the item is in inventory?
Thanks for the replies on this but I found another solution I found which does exactly what I wanted which uses the number input command then uses a variable which is where the player enters the number code for the password. which by default is set to 0000 as I am using a four digit password. Then a conditional branch checks the created variable against a constant which is the password code the player must enter in order to unlock the door.  

Original thread: https://forums.rpgmakerweb.com/threads/door-with-password.22447/