Which API can I use to run my app on a locked iOS device in full screen like Apple Maps?

The iOS Maps app from Apple runs in full screen on a locked iPhone.


Which iOS API should be used to achieve similar results? (i.e. the user experience on a locked iOS device for Apple Maps is incredible.)


The Apple Maps app runs full screen when iPhone is locked: e.g. this screenshot was taken on a locked iPhone:

https://i.stack.imgur.com/bc6Hw.jpg


iOS has Widgets (e.g. https://developer.apple.com/design/human-interface-guidelines/ios/extensions/widgets/ but somehow the Apple Maps app appears to run not constrained by the widget container, in full screen on a locked iPhone.


I have not seen any other apps with the same behaviour (e.g. Google Maps is using a typical widget on a locked screen which looks very different: not full screen but constrained by the frame of the widget)


Thank you.