You have understood correctly. The oft-used phrase "the lot" means "all" or "everything".
eg.
Did you hear about Fred's divorce? His wife got the lot.
A. How many do you want?
B. I'll take the lot.
There's not one good one amongst the lot of them.
etc etc etc



