Text Settings

When I receive a text message it automatically appears on the screen of my i phone evenn if the phone is locked. Is there a way of disabling this facility as I do not want to leave my phone in the office with people able to read my messages before i do?🙂
Here ya go:
http://forum.theiphoneblog.com/iphone-help/169050-hiding-my-text-messages-when-locked.html😀
Thanks for that. All sorted.
Nick

Original thread: https://forums.imore.com/threads/text-settings.169541/