iPhone screen going black randomly
whenever I Turn the device into landscape( on its side) like I’m watching a video or attending my online class or playing a game, the screen blacks out then comes back or if I hit the home Button it will come back. It’s almost like it goes into sleep mode it doesn’t turn off just turns black. And also it’s a new iPhone I got it only a month ago.