Pat the shrimp dry with paper towels and season lightly with salt.
Place the olive oil, sliced garlic, and chili flakes in a large skillet or traditional earthenware cazuela.
Heat the skillet over medium-low heat, cooking the garlic until it becomes fragrant and turns a light golden color, approximately 2 to 3 minutes.
Increase the heat to medium-high and add the shrimp in a single layer.
Cook the shrimp for 1 to 2 minutes per side until they turn pink and are just cooked through.
Add the dry sherry and lemon juice to the pan, stirring for 30 seconds to incorporate.
Remove from heat immediately, stir in the chopped parsley, and serve while the oil is still sizzling.