Lenz's law is based upon the law of conservation of energy. Lenz law states that the induced current always tends to oppose the
cause which produce it. So in order to do work against opposing force we
have to put extra effort. This extra work leads to periodic change in
magnetic flux hence more current is induced. Thus the extra effort is
just transformed into electrical energy which is law of conservation of
energy.