Solenoid tutorial help

Thank you ScruffR

So for powering the solenoid, if I got this power supply:

(12v 1amp)

and used this solenoid lock (12v 1amp)

Would I need to get a 12K resistor for that circuit (1amp = 12v/12ohms)?