I dont' have the S5, so kind of going at it blindly. But, have you checked system settings > display? There may be something there that would allow the home button to wake - disable it if there is.Is there a way to disable the home bottom from waking up the device? I want only the on off button to wake the device.
Thanks