A keyboard with a padlock, for locked input, secure entry and kiosk mode. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

DevicesNewv3.2.0Added Updated
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="M11 20H5C3.343 20 2 18.6569 2 17V7C2 5.3431 3.343 4 5 4H19C20.657 4 22 5.3431 22 7M8 16H11M16.5 15V13C16.5 11.8954 17.395 11 18.5 11C19.605 11 20.5 11.8954 20.5 13V15M16 15H21C21.552 15 22 15.4477 22 16V19C22 19.5523 21.552 20 21 20H16C15.448 20 15 19.5523 15 19V16C15 15.4477 15.448 15 16 15Z"/>
  <path d="M5.5 7H6.5C6.776 7 7 7.2239 7 7.5V8.5C7 8.7761 6.776 9 6.5 9H5.5C5.224 9 5 8.7761 5 8.5V7.5C5 7.2239 5.224 7 5.5 7ZM9.5 7H10.5C10.776 7 11 7.2239 11 7.5V8.5C11 8.7761 10.776 9 10.5 9H9.5C9.224 9 9 8.7761 9 8.5V7.5C9 7.2239 9.224 7 9.5 7ZM13.5 7H14.5C14.776 7 15 7.2239 15 7.5V8.5C15 8.7761 14.776 9 14.5 9H13.5C13.224 9 13 8.7761 13 8.5V7.5C13 7.2239 13.224 7 13.5 7ZM5.5 11H6.5C6.776 11 7 11.2239 7 11.5V12.5C7 12.7761 6.776 13 6.5 13H5.5C5.224 13 5 12.7761 5 12.5V11.5C5 11.2239 5.224 11 5.5 11ZM9.5 11H10.5C10.776 11 11 11.2239 11 11.5V12.5C11 12.7761 10.776 13 10.5 13H9.5C9.224 13 9 12.7761 9 12.5V11.5C9 11.2239 9.224 11 9.5 11Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" stroke="none"/>
</svg>

Also called

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

  • keyboard locked
  • input locked
  • secure input
  • kiosk

Related icons

Closest to keyboard-lock first: its name counts most, then what people search for it by, then the rest of the Devices shelf.

FAQ

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

What is the keyboard-lock icon for?
A keyboard with a padlock, for locked input, secure entry and kiosk mode. It is filed under Devices in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as keyboard locked, input locked, secure input and kiosk, and the browser's search matches all of those.
What styles does the keyboard-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 keyboard-lock?
No. keyboard-lock is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with keyboard-lock?
keyboard, keyboard-off, mouse-lock, lock, terminal-lock and lock-plus, and 12 more, all shown below. Closest to keyboard-lock first: its name counts most, then what people search for it by, then the rest of the Devices shelf.
How do I import keyboard-lock in React?
<KeyboardLock /> is the component, and the style 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 <KeyboardLock size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the keyboard-lock SVG?
icons/stroke/keyboard-lock.svg, icons/two-tone/keyboard-lock.svg, icons/duotone/keyboard-lock.svg and icons/fill/keyboard-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 keyboard-lock added to the set?
Added 26 Nov 2026, and last redrawn 26 Nov 2026. It ships in v3.2.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.