Had the same issue after update to lollipop, do below to fix it worked fine for me.
1. Open Messages application
2. On the main screen of the app, tap the 3dot icon and open Settings.
3. Open Notification settings
4. Under Preview Message settings, mark/unmark "Lock screen" and "Status bar" to...