Open up All Settings and tap or click on System. Go to the Notifications & Actions option on the right and located the Hide notifications while presenting option and turn it ON.