A person with a padlock, for a locked account, private profiles and restricted access. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

UsersNewv1.6.0Added
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M9 4C10.6569 4 12 5.3431 12 7C12 8.6569 10.6569 10 9 10C7.3432 10 6 8.6569 6 7C6 5.3431 7.3432 4 9 4ZM10 21L3 21C2.4477 21 2 20.5523 2 20C2 16.6863 4.6863 14 8 14L10 14M16 16L21 16C21.5523 16 22 16.4477 22 17L22 20C22 20.5523 21.5523 21 21 21L16 21C15.4477 21 15 20.5523 15 20L15 17C15 16.4477 15.4477 16 16 16ZM16.5 16L16.5 14C16.5 12.8954 17.3954 12 18.5 12C19.6046 12 20.5 12.8954 20.5 14L20.5 16"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • locked account
  • private profile
  • restricted access
  • secure user
  • blocked
  • person
  • profile
  • account
  • avatar
  • member
  • human
  • people
  • guest

Related icons

The rest of the user family first, then the Users shelf.

FAQ

Answered from user-lock's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the user-lock icon for?
A person with a padlock, for a locked account, private profiles and restricted access. It is filed under Users in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as locked account, private profile, restricted access, secure user, blocked, person, profile, account, avatar, member, human, people and guest, and the browser's search matches all of those.
What styles does the user-lock icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of user-lock?
No. user-lock is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with user-lock?
circle-user, user, user-check, user-cog, user-heart and user-key, and 12 more, all shown below. The user family is listed first, then the rest of the Users shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import user-lock in React?
<UserLock /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <UserLock size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the user-lock SVG?
icons/stroke/user-lock.svg, icons/two-tone/user-lock.svg, icons/duotone/user-lock.svg and icons/fill/user-lock.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was user-lock added to the set?
Added 4 Oct 2026. It ships in v1.6.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.