I looked at your problem again and on my phone - Samsung Galaxy s-23, when the screen is static (locked as you described it), I simply swiped up from the bottom (or right side in landscape) - a right to left swipe from the edge and my home controls are displayed. you can then press the home button in the middle or multi windows and swipe up to close the program. Should be about the same on your moto g. or "use the force" as previously posted. Good luck.