How to change contacts to phone numbers on lock screen for iPhone?

So you know how when you get a text the contact name shows on the lock screen? Is there any way to make it so the lock screen shows the actual phone number instead of the contact name without deleting the contact? I don't want people to see who texts me until I unlock my phone

You can edit it in the name box but that means you won't be able to see who it is unless you're familiar with they're number… Or you can get galaxy phone