Complex sentence: It was fitted with large, water-tight doors like a water lock; with the doors closed, the entire bay could be flooded to leak--test completed U-boats.
Split into simpler sentences: It was fitted with large water-tight floodgates like a water lock. With the floodgates closed, the entire bay could be flooded to leak--test completed U-boats.