Place the chopped apples, cinnamon, sugar & lemon juice into a skillet over medium high heat. Cook, stirring often, until all the liquid has completely evaporated & the apples have softened, about 7 minutes. Remove from heat & place in a small bowl; add flour. Stir to combine. Cool completely before using. If apples are too wet, drain away any excess liquid.