Theres an option in fully to keep the screen on when plugged in. with the fie, if it turns off theres no way to bypass the lock screen without rooting and i dont think the last couple of generations have been rooted. you can also enable developer mode on the tablet, which then gives you an option to tell the tablet (instead of the app) to keep the screen on when power is connected.