In a small saucepan, melt the butter over medium heat. Add the minced garlic and red pepper flakes (if using) and cook for about 1 minute until fragrant, being careful not to burn the garlic.
Stir in the fresh lemon juice, salt, and black pepper. Whisk to combine.
Place the shrimp in a baking dish. Pour the lemon butter sauce evenly over the shrimp.
Bake for 10-12 minutes, or until the shrimp are pink and cooked through.
Garnish with fresh chopped parsley before serving.
Notes
Serve immediately with your favorite side dishes like pasta, rice, or crusty bread to soak up the delicious sauce.