Folks, my Power key is a bit shaky. Is that the case with all of you. Worried coz, obviosly its a frequently used one for unlocking. Surprised consireding the much hyped build quality of Moto G!
I don't use the power button to lock. I use "double tap the status bar" to lock feature. Its there in Cyanogenmod and can be enabled here: Settings> Interface> Status Bar.
But I don't think its available in the stock ROM. You can still use an app like Screen Off to lock your phone through an app.
Or this app: Button Savior.