Since there isn't one universal door lock part, you can use these high-quality community and manufacturer resources:
Trusted sources like Adafruit or SparkFun often provide Fritzing parts for their components. Download the .fzpz file. download solenoid door lock fritzing
Connected to an Arduino Digital Pin (e.g., D9) through a 1k Ohm resistor. Since there isn't one universal door lock part,
To download a solenoid door lock part for Fritzing, you can use several community-made files or official library parts that are electrically identical. Because solenoids are often represented by generic 2-wire components in Fritzing, you may not always find a part that looks exactly like a door lock but will function correctly in your circuit. download solenoid door lock fritzing