Autofocus on Raspberry

Running the Detection.py program (or any within recourses) doesn’t use autofocus for me.

I’ve tried multiple ways by using picamera2 to set but not working.

Anyone run into this issue?