The valve goes on a drain, in the basement. Inside, a flap lets wastewater flow out to the street. When the city sewer fills up and water tries to come back, the flap closes.
While the flap is closed, water from your own fixtures can't get out either. If you take a shower or run the washer then, that water comes back up in your home, at the lowest point. Wait until the storm has passed.
The valve has an access cover in the floor. That access has to stay clear, so the valve can be opened, cleaned and checked.