In a medium saucepan over medium-high heat, cook strawberries, granulated sugar, lemon juice, and cornstarch, smashing the berries to release their juices, until it boils. Continue to boil, stirring occasionally, until thickened, 5 to 7 minutes. Let cool slightly.