Thermal convection under external modulation of the driving force. I. The Lorenz model.