Autoplay may be caused by setting the "Black Screen Gesture" in "Gesture Sense" and accidentally swiping it down.
When the screen is black, draw a vertical line with your finger to turn it on and off. The method of turning it off is as follows
Enter settings;
Gesture motion sensor black screen