Manual and automatic transmission works different so the way it parks do differs.
This is pretty much the gist of it for motorcycles. For cars, manual transmission with H-pattern shifter do not have parking gear, so leaving it in Neutral with handbrake engaged is the way, on Automatic...