To dream of having a bodyguard means you likely have a desire to be more relevant and noticed from something.
Alternatively, having a bodyguard in a dream may point to a fear of being a victim of crime or violence.
Acting as the bodyguard in your dream and knowing the person you are protecting likely shows that you wish this person to see you as a hero.
Acting as the bodyguard and not recognizing the person you are protecting symbolizes a powerful person or figure in your life that you believe doesn't give you the attention you deserve.