If you can't see someone's profile or posts, it's likely that they've restricted you. To check, go to their profile and tap the three dots in the top right corner. If "Restricted" appears under "Following", they've restricted you.