ACCOUNT SET UP TO ENABLE JOIN MULTIPLAYER GAMES, JOIN CLUBS OR ACCESS REALMS (source: https://help.minecraft.net/hc/en-us/articles/4408968616077-How-to-Manage-Parental-Consent-Family-Settings-and-Realms-Multiplayer-Access-for-a-Child-Account)
Log in to https://account.xbox.com/settings with the parent’s Microsoft account.
Click the child account's profile.
In the navigation tabs, click Xbox Series X|S, Xbox One, and Windows 10 devices Online Safety
Select Allow for You can create and join clubs, and You can join multiplayer games.
You can play Realms without the Clubs permission being on, but if you want to participate in a Realm's Feed, you will have to have the Clubs permission on.
TO ENABLE CHAT FOR PEOPLE NOT ON THE CHILD'S FRIENDS LIST
In the table header:
Click Privacy
Select Others can communicate with voice, text, or invites.
Note: This option determines who can see your child’s messages and send your child’s messages including in-game chat in Minecraft. These settings are specific to this account.
3. Click Submit.