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