The iPhone’s Always On Display keeps the clock and iOS lock screen visible at all times. If you don’t want that, disabling the feature requires only a quick trip to the settings menu.
How-To Geek
https://www.howtogeek.com/833653/turn-off-always-on-display-iphone/