Hey there,
I am really sorry for the delay of this reply as it is a weekend for us here.
Actually that is default behaviour when the userA decided to block this userB, the system will not show out userB stuff on the site, this is why you will see this 404 error when userA manually access this userB profile page.