On a Google Pixel phone, you'll want to go to “Display.” You can skip past this step on a Samsung Galaxy phone. Now go to “Lock Screen.” Now tap “Contact Information” or “Add Text on Lock Screen.” A text box will appear and you can enter whatever you'd like.