There are some things you can try or troubleshoot through, although your best bet is to contact EA Help for assistance on this.
I would initially suggest this is a message where a child lock or parental lock has been placed on an account, though in some cases it can also appear for other things too.
Your EA account and Xbox account may have become unlinked, you could try fixing that yourself with steps here.
Again though, if you want this resolved quickly, you should contact EA Help and speak to an agent in resolving this with you. https://help.ea.com/en/contact-us/