Complex sentence: When Harry and Ron are taken prisoners with others, they make too much noise and Wormtail is sent to check on the prisoners.
Split into simpler sentences: When Harry and Ron are taken prisoners with others. They have made too much noise and Wormtail is sent to check on the prisoners.