How to exclude vertices from subdivison modifier?
Well, you can't exactly exclude the vertices rather you can tell the subdivision modifier to not affect some vertices. To do that follow the steps

Select the vertices you need to exclude
Press Shift + E
Drag your mouse up to set the crease to the value of 1