Skip to content

Lock

The lock icon represents a symbol of security, protection, and safety, often used to indicate that data or a system is secure or protected.

Add shadcn.io to your AI agent. · Pro It installs Lock, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Lock icon from Material Symbols

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 24 24" {...props}>
    <path fill="currentColor" d="M6 22q-.825 0-1.412-.587T4 20V10q0-.825.588-1.412T6 8h1V6q0-2.075 1.463-3.537T12 1t3.538 1.463T17 6v2h1q.825 0 1.413.588T20 10v10q0 .825-.587 1.413T18 22zm6-5q.825 0 1.413-.587T14 15t-.587-1.412T12 13t-1.412.588T10 15t.588 1.413T12 17M9 8h6V6q0-1.25-.875-2.125T12 3t-2.125.875T9 6z"/>
  </svg>
);

Other libraries

Lock in 8 more libraries

Each library draws it its own way. Open one to compare.

  • Lock icon from Material Symbols Light
  • Lock icon from Arcticons
  • Lock icon from Phosphor
  • Lock icon from Material Design Icons
  • Lock icon from Tabler Icons
  • Lock icon from Huge Icons
  • Lock icon from IconPark Outline
  • Lock icon from Myna UI Icons

Material Symbols

Icons that share its tags, in the same style.

  • Lock Clock icon from Material Symbols
  • Password 2 Off icon from Material Symbols
  • Security Key icon from Material Symbols
  • Shield Lock icon from Material Symbols
  • Lock Open Right icon from Material Symbols
  • Lock Reset icon from Material Symbols
  • Security icon from Material Symbols
  • Tamper Detection On icon from Material Symbols
  • Encrypted Add Circle icon from Material Symbols
  • Encrypted Minus Circle icon from Material Symbols
  • Enhanced Encryption icon from Material Symbols
  • Keyboard Lock icon from Material Symbols
  • Mobile Unlock icon from Material Symbols
  • Shield icon from Material Symbols
  • Shield Locked icon from Material Symbols
  • Ward icon from Material Symbols
  • Backup icon from Material Symbols
  • Emergency Recording icon from Material Symbols
  • Emergency Share icon from Material Symbols
  • Health And Safety icon from Material Symbols
  • Identity Aware Proxy icon from Material Symbols
  • Identity Platform icon from Material Symbols
  • Keyboard Lock Off icon from Material Symbols
  • Lock Person icon from Material Symbols

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

Get Pro

Tags

Browse by tag

Lock is tagged security, safety, protection and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Material Symbols MCP, with Pro

Ask for Lock or any of 15,862 Material Symbols 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install Lock from a prompt

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

Get Pro