By accident you posted in the Support forum for MV. I am, therefore, moving this to VX Ace, as you are using the Lite version of that engine.
1) your autorun repeats because you haven't switched it off. it needs a second page on action button conditioned on self-switch A, and you need to control on that self-switch when you want the autorun to end.
2) the other event will only appear when you switch on the "leaving" button, not before. when do you want it to be visible?
2) then you need it with two pages, the first page as the NPC should look like but without a condition, and the second page without a sprite (that turns the event invisible) and the condition that will be set at the same time as the sound effect (usually a general switch)
I only have one autorun and despite turning it off by setting the self switch to A, it's still having the same problem.
there is no problem in that event - it could have been a bit more streamline but that is not causing problems. You are aware that there is a 50% chance of the event working or skipping? because that is what you created with the random variable at the beginning. And since it autorepeats this will only result in a few skipped frames until it runs, making that random check absolutely useless...
But as said that is not what is blocking the player, so that leaves only two possibilities:
either switch 2 (Knight Debut) or switch 4 (leaving) is used at a different event or script, and that different event or script is what freezes the player.
You now need to find out where else you using those two switches.
You need to check EVERY other event on that map to see if one of it uses one of those switches - preferably going line by line in the map to make sure you didn't skip one.
Then you need to check EVERY common event in the database, including the ones you haven't used or named (you might have accidentally switched one to autorun experimenting there and forgotten it)
if it is neither in any map event nor in the common event, then that means it is used in one of your scripts and you've forgotten to configure that script - we would need to see a screenshot of your script manager scrolled to the section where you added scripts to even guess which one it might be. If this is the case I strongly suggest following the link to the tutorial "how to use a script" in my signature to learn where the mistake might be and how scripts needed to be configured.