Roll out the pie crusts to ⅛-inch thickness. Cut into 4 to 5-inch rounds. You should have about 18 rounds.
Place about 2 tablespoons of apple pie filling in the center of each round, leaving a ½-inch border around the edges.
Place the unwrapped caramels on a microwave-safe plate. Microwave for 5 to 10 seconds at a time, just until softened. Be careful not to melt them completely.
Working with one caramel at a time, flatten it into a thin disc. Place it on top of the apple pie filling, making sure it does not touch the edge of the dough.
Fold the dough over the filling to form a half-moon. Lightly rub water around the edge to help seal. Crimp the edge firmly with a floured fork. A tight seal is especially important with caramel inside.
In a medium bowl, whisk together the confectioners' sugar, 5 tablespoons milk, and caramel sauce until smooth. Add more milk, 1 tablespoon at a time, until the glaze is thick but pourable. Set aside.
Fill a large, deep skillet or frying pan with 2 to 3 inches of vegetable oil. Heat over medium heat to 375°F.
Carefully fry 2 to 3 hand pies at a time for 3 to 4 minutes, turning as needed, until golden brown. Adjust the heat as needed to keep the oil around 375°F.
Transfer the hand pies to a wire rack set over a baking sheet or a paper towel-lined plate. Let them rest for at least 5 minutes. The caramel inside will be very hot.
While the hand pies are still warm, dip the tops into the glaze or drizzle the glaze over them.
While the glaze is still tacky, sprinkle with a small pinch of flaky salt, if using. Serve warm.
