Hide Other Profile Windows When Activated New Profile

I’d like to set my brave so that when I activate one profile, any open windows from a previously open password protected profile immediately get hidden. Is there a way to do this?