Block access to a page in the Instagram clone

I want to get a clone of Instagram APK But with a difference
I want to define in this clone that, for example, it is not possible to access a certain page for users
(It means seeing the page’s profile, or seeing the post and story in the home section)
And access to the rest of the pages is free is this possible? Please explain in general
(Please don’t ask why I want to do this)