How to Hide Sensitive Notifications From Your iPhone’s Lock Screen
If you have notifications enabled, apps normally display your messages right on your lock screen. But you can hide the text of those messages without disabling the lock screen notifications entirely, allowing you to see you have a message while preventing people from reading those messages over your shoulder.