Hello Juan,
In this scenario you can use the following web.config key:
<add key="CMSDisableAdministrationInterface" value="true"/>
Of course, this will disable it for everybody including the administrators but I believe that shouldn't be a problem as you want to disable it just temporary/for a short period of time.
Best regards, Martin