Yes. Just go to your Find My app, and then select the person you want to stop sharing locations with. Then, hit the option there that disables them from locating your iPhone.