Hey, I feel your pain — I had a very similar setup and ran into the exact same issue.
When you're using an optical cable, unfortunately, your Samsung remote usually won’t be able to control the soundbar volume directly. Optical just doesn’t carry those volume control signals like HDMI ARC...