After a period of inactivity, Windows goes to sleep on a lock screen. By default, this screen displays notifications received during sleep: new messages, updates, and so on. For privacy reasons, you can disable the display of these notifications on the lock screen.
Click the Start button and then Settings.
In the left column, click Notifications and Actions.
Clear the Show notifications checkbox in the lock screen.