Years ago, I would carefully fold tin foil over the edges of my pumpkin and apple pies to keep them from burning.

It didn't work too well. With gaps in the foil and foil falling into the filling, it was a mess. But it was better than burnt crusts.