[Q] (Q) Screen Randomly Switch Off

Hi everyone,
I have problem with my android tablet, the screen will randomly switch off and back to lock screen even when i'm using it play games or watch movie. Even when i put the screen to "never" sleep, this issue still happening.
I already try to do factory reset and this issue still happening.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?