Display Toggle
Toggle the physical display on and off without locking the screen
io.github.ulysseszh.displaytoggle
About Display Toggle
Use Shizuku to toggle the physical/internal/built-in display on and off without locking the screen or stopping foreground running apps.
There are app shortcuts and quick settings tiles to use to toggle the display, too.