Spin-orbit and anisotropic strain effects on the electronic correlations of Sr$_2$RuO$_4$