Preheat the oven to 400°F (200°C).
In a mixing bowl, combine the diced apples, sugar, cinnamon, lemon juice, and flour. Mix well until the apples are evenly coated.
Roll out the puff pastry sheets on a lightly floured surface. Cut each sheet into four squares.
Place a generous spoonful of the apple mixture in the center of each pastry square.
Fold the pastry over to form a triangle and press the edges to seal. Use a fork to crimp the edges for a decorative touch.
Brush the tops of the pies with the beaten egg.
Place the pies on a baking sheet lined with parchment paper.
Bake for 20-25 minutes or until golden brown.
Allow to cool slightly before serving. Enjoy!