How to shutdown icloud sharing will this turn off will it affect other phone?

I have my account link to two Iphone Max because one of my family member use it i want to turn it off on one phone so i won't be able to share photo from the other. But if i do shut down the icloud will it shut down on mine

You won't kill your iCloud by disabling it on the other phone. Suggestion: Are you willing to let your family member have her own Apple ID and iCloud? You can use Family Sharing to share contacts/calendars and give her access to apps and music you've already purchased under the master ID.