Hi
If you are the tenant admin and have been locked out, you should raise a support ticket with Azure.
Global Support Phone Numbers - https://support.microsoft.com/en-us/topic/global-customer-service-phone-numbers-c0389ade-5640-e588-8b0e-28de8afeb3f2
If you are not the admin and have just lost functionality, then speak to your Tenant Admin to work out why the restrictions are in place.
Thanks
Michael