Your phone or tablet 's lock screen may prevent third parties from accessing your device, but there's still some information that can be visible to prying eyes from notifications that appear on the screen. Fortunately, there's a way to hide such content from your Android device's lock screen.

See also: Android malware FluBot spreads very quickly
Android lets you hide what it calls “sensitive content” from notifications on the lock screen. The notification will still appear, but its content will be hidden. What notifications are considered “sensitive” is up to app developers, so it can vary.
To get started, swipe down on device (once or twice, depending on your phone or tablet manufacturer) and tap the gear icon to open the Settings.
See also: How to disable random Mac addresses on Android

Then, select “Apps & notifications“.
Now, select “Notifications”.
Scroll down to the “Lock screen notifications” section. First, select “Lock screen notifications.”
If you want to hide all notifications, select “Don’t show any notifications.” You also have the option to “Hide silent conversations and notifications.”
See also: Android SMS: How to create backups and restore your messages
For a less intrusive solution, turn on the switch for “Sensitive notifications.”
Of course, even the “Sensitive Notifications” method doesn’t offer absolute security, as what is considered “sensitive” depends entirely on the applications. It may work for the applications you use and serve you, but there is also the possibility that it may not be very useful to you.
