It's the accommodation reflex [0] at work here - pupillary constriction goes hand in hand with a shortening of the focal length of the lens, and the eyes also converge together. This is a brainstem level response, so I doubt there'd be any easy way to dissociate these movements consciously.
[0] https://en.wikipedia.org/wiki/Accommodation_reflex