Text plus hiding messages on lock screen
Go to settings-> Notifications and select the app. Now there is an option "show alerts in lock screen" that you could turn off. Also you could switch from alerts to "none" if you dont want to have alerts at all