This article explains how to set up and use Focus Mode on your iPhone or Apple Watch to escape interruptions for a while while still being able to reach specific contacts. Focus Mode applies to iPhones running iOS 15 and later, and all versions of watchOS.
Using Focus on your iPhone | Apple Support
In Focus Mode, incoming calls, text messages, and iPhone notifications are muted. You’ll still receive them, so you can check your voicemail and other notifications later, but your phone won’t make sounds or vibrate, and the screen won’t light up.
With just a few taps, you can set up Focus mode on iPhone.
Open Settings and select Focus.