The first two sentences are identical. The second two are also the same.
For the third pair, they're identical, although "taking a lesson" doesn't sound natural. You could say, in a general way, that you take a class (present simple tense), but in this case, when using the present continuous tense ("We are having a lesson") it's better to use have and not take.
I hope that helps!