No man this doesn't work it isn't a real solution at all , I don't want to turn off messages notifications, how about the rest of the other bunch of apps on my phone that gives me lock screen notifications? my whole point is that, the screen doesn't need to turn on every single time you get a notification, like what other's said in this thread, for instance proximity sensor can detect phone is in your pocket, or faced down etc and it wont turn on the screen but it will still make a alert sound.
My whole point is that, on Android, you get a notification, it doesn't turn on your screen, you get the sound alert, and it shows in the notification bar(Yes i know iOS doesnt have notfications in the top bar ) but you will still see the notification next time you turn your screen on or even the notification LED. (obviously iPhone doesnt have this.) Now some might say, "but yeah Android doesnt have lock screen notifications like iOS" actually you can get that on Android, and in Android L, its coming. Now this is not a debate between iOS or Android at all, not at all, i am just simply using Android as a example.
TLDR: IMO notifications should not turn on the screen every single time.
I think android suits you best, you can always swtch to android if this problem is a big concern for ya.