A Common Golden Retriever Behavior
Golden Retrievers may stick their heads through your legs for playful interaction, affection, attention-seeking, or reassurance when anxious. It's usually harmless and social.
If the behavior seems excessive or stress-related, consult a veterinarian or certified dog trainer.