Is it possible to keep an Android device in a locked state while something is displayed on the screen? This means that all functions will work as if the device is locked (since it will be locked), and the only difference is that something is displayed on the screen. The main purpose of this question is to display something in the same way as the notification bar in a locked state and the ability to return to the original lock screen instead of something being displayed on the device, and as soon as the lock screen is pressed, it is skipped device, and you must click it again to return to the locked interface.
source share