Thank you for asking this question on the Microsoft Q&A Platform.
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 (here you can find the number of the support teams of your region)
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.
Hope this helps!