99% of the time she is asleep when I shave.
Works for both of us.

If she does come into the bath mid-shave, she opens the door very slowly.

I am lucky.