Question [Q] samsung tab pro 8.4 lock screen problem

hi i just purchase my samsung tab pro 8.4 4 days ago. my problem is it would go to lock screen from time to time even when im using it. samsung has reformatted my software and i tried to turn off smart stay and brightness auto settings yet the proble persist. anyone knows what to do? help please ....