We've all had those situations when we've received a text message that we don't necessarily want anyone else to see. The problem is that such a message always seems to come through when your iPhone on a desk, or on a table in plain sight.
So there you are, your message pops up along with the sender's name and, if you have default settings turned on, a preview of the message's contents.
A new jailbreak tweak allows you to minimize such embarrassing situations by giving you control over what iOS shows when you receive a new text or iMessage, and it's called LockMessages...