Normally, when you receive a SMS message it displays with its full text message on iPhone lock screen, sometimes its quite annoying. So if you want to get rid of it then just follow the steps written below and after going through this guide, your SMS received will not display with its whole message as notification on lock screen of your iPhone.
Stop SMS Messages from Displaying on iPhone Lock Screen
Step-1
Tap on “Settings” icon and then on “Notifications” > “Messages”
Step-2
Toggle the ON/OFF slider followed by “Show Preview” to OFF
Done! Now when you receive a SMS message, its notification will just display sender name and type of message like Text or etc.