Learn To Create A Padlock Icon In Adobe Photoshop

Ever wanted to create a realistic padlock icon in adobe photoshop? Well you've come to the right place. In todays tutorial I'll take you step-by-step in creating the best looking lock icon you've ever seen.

What We’ll Be Creating

Learn To Create A PadLock Icon In Adobe Photoshop

Starting Out Simple

Create a new (Ctrl + N) document 800 x 800 pixels with any colored background. Right-click the background layer and select “Layer From Background” in the fly out menu. Now add a “Gradient Overlay” using the settings below.

Quick Tip:

By selecting “Layer From Background” it allows you to edit the background layer as if it were any other normal layer.

Learn To Create A PadLock Icon In Adobe Photoshop

Creating The Lock Basic Shapes

Once you’ve sorted the background lets crack on with drafting out the shapes for our lock. Select the “Rounded Rectangle Tool” (U) with a radius of 20px.

Learn To Create A PadLock Icon In Adobe Photoshop

Drag the rectangle out making it roughly about 350 pixels long and about 40 pixels in height.

Learn To Create A PadLock Icon In Adobe Photoshop

With the rectangle layer selected, select the “Free Transform Tool” (Ctrl + T). Now select one of the side middle anchor points and drag inwards.

Learn To Create A PadLock Icon In Adobe Photoshop

The width of this first rectangle will determine the width of the padlock, when we resized the rectangle down the radius of the edges actually got a bit squarer making the lock a bit more realistic and no to round.

Learn To Create A PadLock Icon In Adobe Photoshop

Duplicate the rectangle layer then drag the duplicated layer underneath the original layer. Select the “Move Tool” (V) and shift the duplicated rectangle down a couple of pixels.

Learn To Create A PadLock Icon In Adobe Photoshop

We now need to join up the edges so that both rectangles meet, select the “Rectangle Tool” (U), hold down the shift key then drag out a rectangle joining both rectangles together.

Quick Tip:

Holding down the shift key will automatically add the new shape to the current vector mask.

Learn To Create A PadLock Icon In Adobe Photoshop

When joining the rectangles make sure you are adding to the vector mask and not making a new layer. Do both sides of the rectangle, when your done you should have something like this.

Learn To Create A PadLock Icon In Adobe Photoshop

Duplicate the first rectangle again then with the “Move Tool” (V) shift the duplicated rectangle down past the second rectangle. This rectangle will determine the height of the lock.

Learn To Create A PadLock Icon In Adobe Photoshop

In the same way as we did with the 2nd rectangle join up the bottom rectangle by adding a bigger rectangle to the vector mask.

Learn To Create A PadLock Icon In Adobe Photoshop

Bringing The Shapes To Life

Time for some organization, label the very top rectangle layer “Lock Top #1”, the 2nd rectangle “Lock Top #2” and finally the Bottom rectangle “Lock Body”.

Learn To Create A PadLock Icon In Adobe Photoshop

Lets add some layer styles to our lock, starting with the “Lock Body Layer”.

Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop

Next add a “Gradient Overlay” to the “Lock Top #2 Layer” using the settings below.

Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop

And finally, add a “Gradient Overlay” to the “Lock Top #1 Layer”.

Learn To Create A PadLock Icon In Adobe Photoshop

You should have something like this.

Learn To Create A PadLock Icon In Adobe Photoshop

Creating The Groves

Load a selection around the “Lock Top #2 Layer”, create a new layer above the “Lock Body Layer” then go to “Edit > Stroke”.

Quick Tip:

To load a selection around a layer, first select the layer then go to “Select > Load Selection” or simply click the little thumbnail in the layers window whilst holding down the Ctrl key on the keyboard.

Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop

Once the stroke has been added deselect the selection (Ctrl + D) then with the “Move Tool” (V) move the stroke down 1 pixel.

Learn To Create A PadLock Icon In Adobe Photoshop

Duplicate the layer then move that layer down 1 pixel, then add a “Color Overlay” to the duplicated layer using the color white #ffffff. Finally set both layers blend mode to “Overlay” then just the white strokes layers opacity to 50%.

Learn To Create A PadLock Icon In Adobe Photoshop

Duplicate both stroke layers then shift the two strokes down a couple of pixels, repeat this until the length of the lock is filled with the strokes leaving a nice even gap in between each set of strokes.

Learn To Create A PadLock Icon In Adobe Photoshop

Select all the stroke layers leaving out the first set you created, once selected merge them together and adjust the opacity of the final layer to 35%. The blend mode should also be changed back to “Overlay” if it isn’t already.

Learn To Create A PadLock Icon In Adobe Photoshop

Creating The Key Hole

Select the “Ellipse Tool” (U) and drag out a circle onto the middle of the lock body. Once your happy with the ellipse select the “Pen Tool” (P), hold down the shift key and create a triangular shape.

Quick Tip:

Holding down the shift key will automatically add the new shape to the current vector mask.

Learn To Create A PadLock Icon In Adobe Photoshop

Finally add the following layer styles to the keyhole layer.

Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop

You should have something like this.

Learn To Create A PadLock Icon In Adobe Photoshop

Creating The Shadow And Reflection

Select all the lock layers so far apart from the background layer then duplicate them all. Merge all the duplicated layers into one layer the flip the new single layer vertically “Edit > Transform > Flip Vertical”. Move (V) the lock down underneath the original lock.

Learn To Create A PadLock Icon In Adobe Photoshop

Blur the flipped lock by going to “Filter > Blur > Guassian Blur” blurring by 4px.

Learn To Create A PadLock Icon In Adobe Photoshop

Label the layer “Reflection” then add a layer mask to the layer. Select the “Gradient Tool” (G) with a linear gradient then drag from the bottom of the reflection upwards.

Learn To Create A PadLock Icon In Adobe Photoshop

Now for the shadow, duplicate the “Lock Body Layer” then right click the duplicated layer and select “Rasterize Layer”. Double click the layer and add a black #000000 “Color Overlay”. Once the color has been added select the “Rectangular Marquee Tool” (M) and make a selection over the lock down to just above where the edges curve up at the bottom.

Learn To Create A PadLock Icon In Adobe Photoshop

When the selection has been made hit the delete key to remove the top half of the shape. Select the “Move Tool” (V) and move the shape down a couple of pixels, finish the shadow by adding a guassian blur “Filter > Blur > Guassian Blur” and setting the opacity to 75%.

Learn To Create A PadLock Icon In Adobe Photoshop

Creating The Chrome Lock

Select the “Rounded Rectangle Tool” (U) with a radius of 80px. Drag out a rectangle at the top of the lock.

Learn To Create A PadLock Icon In Adobe Photoshop

Still with the “Rounded Rectangle Tool” (U) only this time select “Subtract From Shape Area” from the options tool bar.

Learn To Create A PadLock Icon In Adobe Photoshop

Once selected drag out another smaller rectangle inside of the rectangle you just created. Try and keep the width of the rectangle the same all the way around.

Learn To Create A PadLock Icon In Adobe Photoshop

Select the “Pen Tool” (P) with the “Subtract” option still selected the round off the bottom edges of the lock.

Learn To Create A PadLock Icon In Adobe Photoshop

With both sides done you should have something like this.

Learn To Create A PadLock Icon In Adobe Photoshop

Create The Lock Holes

Select the “Ellipse Tool” (U) then drag out two circles at the bottom of the lock where we rounded it off.

Learn To Create A PadLock Icon In Adobe Photoshop

To the two lock holes add the following layer styles.

Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop

To the soon to be chrome looking lock add the following layer styles.

Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop
Learn To Create A PadLock Icon In Adobe Photoshop

The lock should now be transformed into something like this.

Learn To Create A PadLock Icon In Adobe Photoshop

Adding The Reflections And Shadows To The Lock

Duplicate the lock layer then right click the layer and go to “Rasterize Layer”. Once rasterized flip the lock vertically by going to “Edit > Transform > Flip Vertical” position the lock underneath the original.

Learn To Create A PadLock Icon In Adobe Photoshop

Load a selection around the “Lock Top #1” layer by selecting the layer then going to “Layer > Load Selection”.

Learn To Create A PadLock Icon In Adobe Photoshop

Now go to “Select > Inverse” then hit the delete key. You should be left with just the part of the lock which sits inside of the selection.

Learn To Create A PadLock Icon In Adobe Photoshop

Finally add a layer mask to the layer and drag a linear gradient from the bottom upwards. For this reflection you aiming for a subtle reflection.

Learn To Create A PadLock Icon In Adobe Photoshop

For the shadows load a selection around the lock holes.

Learn To Create A PadLock Icon In Adobe Photoshop

Create a new layer above the lock layer then select the “Gradient Tool” (G) with the gradient settings set to “Black #000000 to Transparent”.

Learn To Create A PadLock Icon In Adobe Photoshop

Drag the gradient upwards, again were aiming for subtle shadows. Repeat these steps for both sides.

Learn To Create A PadLock Icon In Adobe Photoshop

Conclusion

Thanks for taking part in this tutorial, if you managed to finish this tutorial I’d love to see some of your results. Feel free to post them up on our Facebook Fan Page.

Learn To Create A PadLock Icon In Adobe Photoshop
About Author

Tom loves to write on technology, e-commerce & internet marketing. I started my first e-commerce company in college, designing and selling t-shirts for my campus bar crawl using print-on-demand. Having successfully established multiple 6 & 7-figure e-commerce businesses (in women’s fashion and hiking gear), I think I can share a tip or 2 to help you succeed.