From the top.
The solenoid does not shut off the fuel supply to the carb.
It rams a plug up the end of the supply to the main jet to stop, fuel vapour entering the engine via the venturi tube.
The float valve shuts off the fuel SUPPLY to the carb.
When it does not work the bowl overfills and the raw fuel dribbles inside the engine via the bowl vent.
Once upon a time there was an overflow tube so you could see what was happening but the EPA decided it was better for the environment for the entire tank of fuel to drain into you sump then get thrown out.
A severe hydro lock tries to compress a cylinder full of liquid fuel , but liquids do not compress so it can bend the con rod, break a ring or blow the head gasket
SO run your engine for 5 minutes, shut it off then remove the dip stick .
If smoke comes out the gasket is gone.
In any case , remove the float bowl and hold the float up while cranking the engine.
No fuel should come out.
Work the float to make sure that fuel flows then stops then flows.
Old fuel lines can crumble inside or go gummy and this breaks off and get stuck in the float valve on a brand new carb.