The lens is set to f/22, the minimum aperture for that lens. The switch just happens to be next to the 2.8 marking on the aperture ring and means nothing.
It will only lock when the lens is set to f/22. It keeps the aperture ring from being inadvertently turned... which will cause the camera to not fire the shutter because it will detect the problem.