There is no automated link between protection and hiding.
I tend not to hide rows in the main part of a worksheet. I put information
I don't want cluttering up the place onto a different worksheet, or way off
to the right or way down at the bottom.
There's nothing to stop you protecting the information you're going to hide,
though. You just need to do it separately.