Hide notifications on lockscreen

Hi guys was wondering if you can help me I was wondering if you can hide the notifications on the lock screen like you can on android it's just that when I'm at work I don't want people seeing my stuff thanks
Sure. Go to Settings → Notifications, and then de-select "Show on Lock Screen" for any notifications therein.
Sure. Go to Settings → Notifications, and then de-select "Show on Lock Screen" for any notifications therein.

Yeh but if you do that then you can't see if there is one I mean the no content of the notification
Yeh but if you do that then you can't see if there is one I mean the no content of the notification

Oh okay. Anyway, in the same setting, disable "Show Preview".

Original thread: https://forums.imore.com/threads/hide-notifications-on-lockscreen.376250/