Imagine you have an appendix chapter that contains a whole set of figures, but you don’t want them to show up in the list of figures.
The caption package does the trick for you:
and then use
to exclude figures from the LOF from that point onwards. Switching it on again can obviously be done using:
Similarly, you can exclude/include tables using these commands: