Lock screen imessage with name but without content

Hi, I am having trouble with my imessage notification. I use to have the notifications where it would show their name but not the message until you unlocked the phone. Not sure what happened but I cannot figure how to get back to that!

You should go to Settings App > Messages > Notifications > Lock Screen Appearance > Show Previews > and check if the show previews is selected to the "When Unlocked"

Lock screen imessage with name but without content
 
 
Q