iPhone 6 lockscreen message preview
Settings --> Notifications ---> Messages 

Then just click the "Show on lock screen" button to turn it to off mode (no green showing).

Edit: As far as I know there is no way to turn off this feature with stock iOS. You may be able to find a specific app to change this feature with a jailbroken iPhone.