If you don't want notification content to appear on the lock screen, go to Settings > Security & location > Lock screen preferences > On lock screen, and then tap Don't show notifications at all.