Go to Settings.
Tap on [your name] > Find My > Find My iPhone.
Toggle off Find My iPhone.
You will be required to enter your Apple ID password.
Then tap Turn Off in the top-right corner of your screen.