Hi! As a photographer, auto lens correction is in need to cancel the distortion and lens flaws just like what Adobe Camera Raw does.
https://helpx.adobe.com/photoshop/using/correcting-image-distortion-noise.html#correct_lens_distortion_and_adjust_perspective