Assuming it is fitted to your model usually you can look under the hood as you move the gear selector to see the gear shaft operating either a mechanical stop to the flywheel or an elec cutout switch.
If its a rope start version its likely a mechanical stop
Iirc on a johnson its a white plastic paul that stops the pull start but ive seen them removed before as they occasionally fail to disengage and prevent you from starting the engine