Yamaha Teo’s repair instructions

Hello together, Siegfried my name I have been driving for “centurys everything that has 2 wheels” Now the fate has wanted a Yamaha Teo`s 125 scooter to get lost in my garage ! After I had renewed all the relevant drive parts incl. test drive a standing bolt had said goodbye to the cylinder head through rust frass. Have already expanded the engine, my problem lies on the gear of the steering chain. How do I block the crankshaft or the camshaft that I can get the bike mlos can solve ? Does anyone have a tip ? Or a workshop manual in which this process is depicted explicated ? LG Siegfied