To "dock" pastry means to prick it with a fork before baking. This technique simply pokes holes in the pastry dough. This allows steam to escape so that the pastry doesn't puff up in the oven. This technique is typically used when blind baking a pie crust before filling.