How can I block random people from inviting me to groups?

This isn’t the first question about getting random invites to the platform, for example

It seems that we’re not seeing any answers here. How can I block people from randomly adding me to groups on GitLab? I got added to a group called " xasdsfvxcvs" with a description of “sadscxc”

I’ve been invited to similar random groups in the past, and I don’t want to have to reach out to support every time it happens.

Can you add a “lock” to our account similar to locking your credit report, that people can only invite you if you explicity turn ON a setting that allows it to happen, then we can re-lock our profile or something?