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.
