Skip to content

Lock

The lock icon represents a secure or protected state, often used to indicate that something is locked or restricted.

Exports at 24 × 24 px

Lock icon from Evil Icons
Get Pro

Code

Lock in your framework

In any framework. Customize it above, and the code follows.

export const LockIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 50 50" {...props}>
    <path fill="currentColor" d="M34 23h-2v-4c0-3.9-3.1-7-7-7s-7 3.1-7 7v4h-2v-4c0-5 4-9 9-9s9 4 9 9z"/><path fill="currentColor" d="M33 40H17c-1.7 0-3-1.3-3-3V25c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v12c0 1.7-1.3 3-3 3M17 24c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h16c.6 0 1-.4 1-1V25c0-.6-.4-1-1-1z"/><circle cx="25" cy="28" r="2" fill="currentColor"/><path fill="currentColor" d="M25.5 28h-1l-1 6h3z"/>
  </svg>
);

Evil Icons

Icons that share its tags, in the same style.

  • Minus icon from Evil Icons
  • Navicon icon from Evil Icons
  • Paperclip icon from Evil Icons
  • Pencil icon from Evil Icons
  • Play icon from Evil Icons
  • Plus icon from Evil Icons
  • Pointer icon from Evil Icons
  • Question icon from Evil Icons
  • Redo icon from Evil Icons
  • Refresh icon from Evil Icons
  • Retweet icon from Evil Icons
  • Sc Facebook icon from Evil Icons
  • Sc Github icon from Evil Icons
  • Sc Google Plus icon from Evil Icons
  • Eye icon from Evil Icons
  • Spinner icon from Evil Icons
  • Spinner  2 icon from Evil Icons
  • Spinner  3 icon from Evil Icons
  • Star icon from Evil Icons
  • Tag icon from Evil Icons
  • Trash icon from Evil Icons
  • Trophy icon from Evil Icons
  • Undo icon from Evil Icons
  • Unlock icon from Evil Icons

Skip the copy and paste. With Pro, your AI agent finds and installs any Evil Icons icon from a prompt.

Get Pro

Pricing

Evil Icons MCP, with Pro

Ask for Lock or any of 70 Evil Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Lock icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Lock from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro