Unicode terminal lock symbol
Not identical to that, but emoji has several lock &amp; key symbols
     
available from 'Show Emoji &amp; Symbols' if you have System Prefs &gt; Keyboard &gt; Keyboard &gt; 'Show Keyboard, Emoji &amp; Symbol viewers in menu bar' enabled.