Quantum work statistics of controlled evolutions