In a medium saucepan, combine strawberries, sugar, and lemon juice. Bring to a simmer over medium heat and cook, stirring occasionally, until strawberries are soft and beginning to become saucy, about 20 minutes. (For a thicker compote, simmer until thick and jammy, about 10 more minutes.) Remove from heat and allow compote to cool to room temperature before refrigerating in an airtight container.
