Skip to content

Lock

The lock icon represents security, safety, or protection, often used to convey a sense of confidentiality or restricted access.

Exports at 24 × 24 px

Lock icon from Fluent UI MDL2
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 2048 2048" {...props}>
    <path fill="currentColor" d="M1792 896v1152H256V896h256V522q0-108 39-203t108-166T821 41t203-41q109 0 202 41t163 112t108 166t39 203v374zm-1152 0h768V522q0-81-29-152t-80-126t-122-85t-153-31q-82 0-152 31t-122 85t-81 125t-29 153zm1024 128H384v896h1280z"/>
  </svg>
);

Fluent UI MDL2

Icons that share its tags, in the same style.

  • Anchor Lock icon from Fluent UI MDL2
  • Encryption icon from Fluent UI MDL2
  • Passive Authentication icon from Fluent UI MDL2
  • Lock  12 icon from Fluent UI MDL2
  • Mark As Protected icon from Fluent UI MDL2
  • Contact Lock icon from Fluent UI MDL2
  • Protect Restrict icon from Fluent UI MDL2
  • Unlock icon from Fluent UI MDL2
  • Certified Database icon from Fluent UI MDL2
  • Password Field icon from Fluent UI MDL2
  • Phishing icon from Fluent UI MDL2
  • Protected Document icon from Fluent UI MDL2
  • Signin icon from Fluent UI MDL2
  • Sign Out icon from Fluent UI MDL2
  • Uneditable icon from Fluent UI MDL2
  • Uneditable  2 icon from Fluent UI MDL2
  • Uneditable 2 Mirrored icon from Fluent UI MDL2
  • Uneditable Mirrored icon from Fluent UI MDL2
  • Hard Drive Lock icon from Fluent UI MDL2
  • Laptop Secure icon from Fluent UI MDL2
  • Umbrella icon from Fluent UI MDL2
  • Verified Brand icon from Fluent UI MDL2
  • Certificate icon from Fluent UI MDL2
  • Change Entitlements icon from Fluent UI MDL2

Skip the copy and paste. With Pro, your AI agent finds and installs any Fluent UI MDL2 icon from a prompt.

Get Pro

Pricing

Fluent UI MDL2 MCP, with Pro

Ask for Lock or any of 1,735 Fluent UI MDL2 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