You learn the Shocking Grasp cantrip. It counts as a warlock cantrip for you, but it doesn't count against your number of cantrips known. When you hit a creature with Shocking Grasp, you gain temporary hit points equal to the number of targets hit multiplied by your spellcasting ability modifier.