Complex sentence: When valves are opened the chambers are filled with water, the dry dock floats lower in the water, allowing a ship to be moved into position inside.
Split into simpler sentences: When valves are opened, the chambers fill with water, causing the drydock to float lower in the water. The deck becomes submerged and this allows a ship to be moved into position inside.