Answer explained
How does the eye control the amount of light entering it?
The iris controls pupil size. In bright light, the pupil becomes smaller and admits less light. In dim light, it becomes larger and admits more light.
Thus the iris muscles regulate incoming light by changing the pupil opening.