So, praying next to your father, praying with your father, is a beautiful thing that we know. Yet there are three interesting halachot (laws) regarding praying with the father or with the rabbi. The way it's brought down in halacha (Jewish law) is that if one is praying with their father, they should not be standing side by side during the Amidah, or given exception in a second, shouldn't be standing side by side. They should not be standing directly behind their father, and should not be standing in front of their father. Pretty much, you're stuck; you gotta move away.
The issue with standing side by side is that we're making it look like we're equal to our father. That's a problem of respect. Behind our father, we're making it difficult for him. He has to back away at the end of the Amidah. He has to back away into our space, and my Amidah could be as long as my father's, and now he's waiting for me. I'm being metza'er (causing distress) my father. I'm giving him pain and difficulty. That's not proper either. And standing in front of him is not proper, because it seems like my father is praying to me. Also inappropriate. These are the three problems.
So really, a halacha person should avoid doing exactly what I just said. However, if they're in a shul (synagogue) and they have permanent seats, or they have their set seats, then the way the rabbis bring it is that it's definitely not as bad when it comes to standing side by side; that's fine. It doesn't seem to have that disrespect. When you're standing side by side, you're getting up and standing in your normal spots; that's fine. When it comes to the one in front, that's also not so bad if you're in a shul. When it comes to the one behind, that's still difficult, because at the end of the day, he's still giving your father some pain if he's waiting for you and wants to back away from his Amidah.
But technically speaking, if a person is praying in a random spot and has never prayed before—if a person is praying somewhere for the first time—and they're praying b'yachid (alone), father and son, then they should avoid all of this. If they're praying in a shul and have normal seats, they do not need to be as concerned, but still make sure to avoid in any way making some sort of difficulty for our father, because that's considered a lack of respect.

