Locked With Key
The locked-with-key icon represents a state of security or access.
Exports at 24 × 24 px
Code
Locked With Key in your framework
In any framework. Customize it above, and the code follows.
export const LockedWithKeyIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
<path fill="#d0cfce" stroke="#d0cfce" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M14.196 35.652c-.2-7.666 5.579-16.384 12.452-16.6c6.93-.219 14.414 10.252 12.41 17.173h-3.183s.79-7.133-2.234-10.144c-.542-1.536-4.55-4.3-7.48-3.869c-1.977.291-6.392 2.807-7.31 4.581c-1.028 1.984-1.17 8.859-1.17 8.859z"/><path fill="#fcea2b" d="M41.698 36.361h1.63v23.372H10.283V36.361h1.63z"/><path fill="#f1b31c" d="M42.941 36.532L26.619 59.578h16.79z"/><path fill="#f4aa41" d="M55.94 32.583c3.583-1.818 6.069-5.786 6.069-10.389c0-6.321-4.69-11.446-10.473-11.446s-10.474 5.125-10.474 11.446c0 5.112 3.1 10.046 7.358 10.62"/><path fill="#f4aa41" stroke="#f4aa41" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="m56.027 32.349l-.011 3.077l.156 20.725l-4.502 4.501l-3.66-4.66l2.883-2.883l-3.157-3.157l2.641-3.642l-3.14-3.14l.014-2.976l2.709-2.71l-1.241-1.241v-3.894"/><path fill="#e27022" d="m53.544 57.09l1.2-1.202l-.219-19.827l-1.214.013z"/><circle cx="51.535" cy="18.109" r="3.521" fill="#e27022" transform="rotate(-45 51.535 18.11)"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path d="M39.467 33.42c.581-8.034-5.889-14.587-12.82-14.369c-6.872.217-12.45 7.083-12.45 14.37m27.501 2.9h1.63v23.371H10.283V36.321h1.63z"/><path d="M17.825 33.42c0-5.509 3.979-10.7 8.88-10.864c4.944-.165 9.559 4.79 9.144 10.864m20.176 2.606l.257 20.446l-4.561 4.56l-4.766-4.765l2.921-2.921l-3.228-3.229l3.689-3.689l-3.211-3.211v-3.03l2.745-2.745l-1.269-1.269"/><circle cx="51.535" cy="18.109" r="3.521" transform="rotate(-45 51.535 18.11)"/><path d="M56.017 31.636c3.57-1.769 6.027-5.59 5.993-10c-.046-6.057-4.772-10.932-10.556-10.888s-10.435 4.99-10.39 11.048c.038 4.897 3.134 9.021 7.376 10.398"/></g>
</svg>
);Other libraries
Locked With Key in 2 more libraries
Each library draws it its own way. Open one to compare.
OpenMoji
More like it
Icons that share its tags, in the same style.
Search OpenMoji
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Locked With Key is tagged icon, emoji, security and 3 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Locked With Key or any of 4,481 OpenMoji 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 Locked With Key icon means and where it's used, then how to install, style, label and license it.
The locked-with-key icon represents a state of security or access. It is often used to indicate that something is secure or can be accessed with a key. The locked-with-key icon is widely recognized and used across various platforms.
The locked-with-key icon appears in various software and platforms, such as login screens, password-protected files, and secure communication apps. For example, password managers like LastPass and 1Password use locked-with-key icons to indicate secure access.
From a UX perspective, the locked-with-key icon communicates a sense of controlled access. It helps users understand that they need a key or permission to access certain information or features.
Locked With Key is one of 4,481 icons in OpenMoji, made by OpenMoji and released under CC BY-SA 4.0. It is drawn on a 72 × 72 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds LockedWithKeyIcon to components/icons/openmoji-locked-with-key.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed LockedWithKeyIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Locked With Key icon, or any of 4,481 OpenMoji icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 72 × 72 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Locked With Key", so screen readers say what it does.
Yes. LockedWithKeyIcon passes every SVG prop to the svg element, so <LockedWithKeyIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with conditions: CC BY-SA 4.0 asks you to credit the author (OpenMoji), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit OpenMoji, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Locked With Key. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are icon, emoji, security, access, lock and key. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Locked With Key in another set.
OpenMoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Locked With Key's siblings in it.
4.9 out of 5 from 150+ developers
Install Locked With Key from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro