Open the Settings.exe file in your PES 2017 installation folder. Set the resolution to 1280x720 (720p) or lower and change the Picture Quality to Low or Medium .
Use a "Crowd Disabler" tool (often found in optimization RAR packs) to remove stadium fans, which is a major cause of lag on weak hardware.
Verify that your graphics drivers (NVIDIA, AMD, or Intel) are updated to their latest versions for better compatibility.