Hi
Apple has not yet stated whether or not, for Apple Watch Series 2 models, the Workout app will monitor your heart rate during swimming workouts.
Apple has stated that the watch can count laps, track average lap pace and automatically detect your stroke type, which enables it to accurately measure your Active Calories burned during a swimming workout.