Default Sleep

Hello

I want to ask..how to prevent any android device from sleeping
..I don't know if this is the problem. But I got a tablet that. If I lock the screen for 5 min. After turning it on. All games got a bad laggs. Even 2d games
The tablet have dualcore CPU and 1 g ram

And thx in advance

Sent from my GT-S5570I using xda app-developers app

http://forum.xda-developers.com/signaturepics/sigpic5408959_4.gif