Navigate to /system/usr/keylayout/ with Root Explorer or such and mount as read/write.
Make a backup of tuna-gpio-keypad.kl -- just in case
Then open tuna-gpio-keypad.kl in a text editor.
You will see 3 values after all of the header text information:
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_UP WAKE
key 116 POWER WAKE
Delete the "WAKE" from the buttons you wish NOT to have wake the phone.
Save the file and restart.
FINALLY! No more accidental unlocking. I'm not sure why one would want the volume keys to unlock the phone when the power button does already but to each their own.
Consequently... if you wanted your stock phone to wake on volume you could maybe open the file and add in the "WAKE" - or the whole lines if they aren't already there. No guarantees on that though. Also no guarantees on this either - of course.