This example is kind of bad :-)
You don't lose weight by lifting weights, in general.
And amusingly, if you did want to lose weight by lifting weights, your example is precisely how you <<would>> lose weight. You lift 10kgs over and over and over again, or even better, incorporate the extra weight into some sort of cardio routine.
Instead of increasing the weight, you'd increase the reps or the motion you use for lifting weights.