Systems and methods are provided for actively controlling a derailleur. A derailleur system includes a cassette including a number of sprockets, a drive unit that drives the cassette, and a chain linking the drive unit with the cassette. A derailleur is configured to guide the chain around the cassette, the derailleur including a swing arm rotatable at a pivot assembly to maintain tension on the chain. A lock selectively locks the swing arm from rotating.