Connect the terminal of the 12V power supply to the GND (Ground) rail of your breadboard.
However, because standard solenoid locks are electro-mechanical components rather than pure semiconductor chips, a dedicated 12V solenoid lock part is not always pre-installed in the stock Fritzing library. This comprehensive guide will walk you through how to find, download, and correctly utilize a solenoid door lock Fritzing part for your next automation project. Why You Need a Dedicated Fritzing Part for Solenoids download solenoid door lock fritzing
This is the most critical section. A Fritzing diagram for a solenoid lock include a driver circuit. Connect the terminal of the 12V power supply