My Motorola g4 was very hard to unlock by swiping on the lock screen. Took 4 or 5 swipes to get it right.
To fix it:
Open Motorola App and disable the swipe to shrink screen in the gestures.
Close app and goto settings, apps, Moto.
Disable Motorola App
Force close Motorola App
Enable Moto app
Done! Now lock screen swipe works normal. I hope this helps you.