Question: how hide messages on iphone?
Answer: Go to Settings > Notifications and scroll down until you find Messages. In the Messages section scroll down to Show Previews. By default this will be set to Always. Tap on that and choose: Never. This will mean keep the alert private even if your iPhone isn't locked.