Hi, if you meet a friend it could be more of a coincidence, whereas if you meet with a friend It transmits more the idea that you have arranged It previously. Another way you can express the second meaning, is by using 'meet up with a friend'.
I hope this helps 😉🤗