Restrooms closed

I know this whole situation with covid is serious so gas stations restaurant etc are not allowing people in their restrooms but what if you're pregnant can they still deny you ?