To write the locked symbol 🔒 on keyboard using ALT codes; ALT+128274, just hold down the ALT key while typing the alt key code 128274. You have to use the numeric 🐼keypad of your keyboard. If you don not have nuꦐmeric keypad, hold down the Fn and ALT keys while typing the alt code number.