Though there is already an answer it may be hard to get and to get them moves
So a great Pokemon is crobat it is very quik and can learn the move meen look so it can't escape
Also Pokemon like wobbufet and dug trio with the ability arena trap and shadow tag prevents the foe from escaping
You could also get your highest lv Pokemon with the move False swipe leaving the foe on 1 hp
So this makes it Easyer to catch after it has ran away
When you next see it use a quik ball that will increase your chances a lot
Also you could use moves like hypnosis but they are not reliable
I'm not sure if there's any way to increase the chance of it running away before you battle but I find that when you walk rather than cycling or running
I guess that meens they don't get scared as easly I'm not sure that works but it does for me
Also there are abilitys that make certain Pokemon or all Pokemon Easyer to run into