No, s-off does not in itself disable subsidy lock.
There is however a separate mod for SIM unlock that requires s-off. But if your phone has been officially updated to Lollipop it seems this exploit has been patched by HTC and no longer works. If your phone is still on older firmware, the mod may still work:
Flash an old RUU and then do it perhaps?