By setting up an end date, you have full control of the date the lesson is ending.
But should you change your mind at any point, you can always enter the lesson repetition settings and adjust this information.