I'm currently using Nova Launcher which has a settings to remap the home button when on the homescreen.
You can map it to a Nova settings, an app or a shortcut.
I currently have it mapped to a Secure Settings shortcut that lock my phone.
The issue I'm having with this settings, it's that it does not respect the delay locking option I have set on my security settings (5 min).
I'm looking for a way to map the home button to something that would shutdown the screen but respect the locking delay like the real power button does.
Any suggestions ?