The tiny pin to keep the SMC lenses on Auto on the Spotmatic F/ES/ES II is a very clever bit of engineering.

The lens mounts on these cameras have a groove for the pin to drop into. Mount the same lens on a Spotmatic or earlier Pentax M42 body and the lack of a groove causes the pin to be pressed in, so the lens works just like a Super Takumar.