Galaxy s7 (not sure where to post)

Mo • Mama ×3 ❤

So I just got this phone and I need some help. When my alarm goes off, all I have to do is wave my hand over my phone and it will turn off. I've been looking at my settings and can't find a way to change that. Does anyone know??