Preheat oven to 325 degrees F. Place graham cracker crust on a baking sheet.
Beat cream cheese and sugar until completely smooth with no lumps. Add eggs one at a time, mixing just until incorporated after each.
Mix in sour cream and vanilla. Stir in lemon juice last. Do not overmix.
Pour filling into crust and smooth the top. Bake 35 to 40 minutes until edges are set and center jiggles slightly.
Turn off oven, crack the door, and let cheesecake rest inside 30 minutes. Remove and cool at room temperature 30 to 45 minutes. Refrigerate at least 3 to 4 hours before serving.
Combine raspberries, sugar, water, lemon juice if using, and salt in a small saucepan. Cook over medium-low heat, stirring occasionally, until berries break down, about 4 to 5 minutes. Simmer 3 to 5 more minutes until saucy. Stir in cornstarch mixture and cook 30 to 60 seconds until lightly thickened. Remove from heat and stir in vanilla. Cool completely.
Spoon raspberry sauce over the cheesecake just before serving or over individual slices. Garnish with fresh raspberries if desired.