NotificationSettings.ShowsOnLockScreen

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aNotificationSettings.ShowsOnLockScreen

New in 2020r2

Supported for all project types and targets.

If true, the app's notifications show on the lock screen.