In a large sauté pan over medium heat add apples, sugar, and lemon juice. Let it cook down so that the apples are tender.Spray 9-x13-inch baking dish with baking spray or use butter. I baked mine in two smaller dishes, that are 6x6.Add the caramel pieces to the apples and pour into the prepared dish(s).Sprinkle cookie mix over the top of the apples.Pour melted butter over the cookie mix.Bake at 350F for 45 minutes or until top is golden brown.Serve warm and with ice cream and caramel sauce if desired.