How to get a message to not show the message on the lock screen on an iphone?

I still want it to notify me that I got a message, but I want it to show who it's from and say message and imessage.

Settings>notifications>messages>alert style>click none.

You could turn it off from appearing on the lock screen though I don't think you'd be able to get exactly the options you want.