This step is called “docking” the pastry. You prick the crust with a fork before putting it into the oven to allow steam to escape and keep the crust from puffing up.