Technological Information
Android:
Settings > Notifications > Lock Screen > Hide Content
iPhone:
Settings > Notifications > Show Previews > When Unlocked