USB-to-Arduino: Password-Protected Lock

I am interested in using Arduino to create an electronic lock that can be opened / closed by a program running on my PC which would send a password via USB to Arduino which if correct would open the lock.

I am also new to Arduino and any project guidance would be of help. I know many different programming languages and I am confident I can figure out the coding part of the process but I am basically clueless when it comes to what Arduino hardware I will need to accomplish this?

Thanks in advance!

Why would the PC need to send the password to the Arduino?

How could the Arduino get an unauthorized command from the PC?

Any Arduino should be able to do what you want. An Uno is the best one to start with as almost everything is designed to work with it.

...R