Change lambda weights during training


is there a way to change lambda weights of constraints during training? I know the method of transfer learning, and with it this process can be done manually by training the network on consecutive constraint sets with different lambda weights, but i would like to have something more automated that distinguishes the training into various phases, each of which has its own set of lambda weights. Is it possible?

Thanks for your answers!