All Octicons
lock
Octicon sizes navigation
React
import {LockIcon} from '@primer/octicons-react' <LockIcon size={24} />
Rails
<%= render(Primer::Beta::Octicon.new(:lock, size: :medium)) %>
Jekyll
{% octicon lock height:24 %}
Figma
This icon is called lock-24
in Primer's Octicons library.