Double-click a photo with on your Mac.
Double-click a Portrait mode photo, then click Edit in the toolbar.
Click Adjust tab in the toolbar, then click the focal point on the photo; the rest of the photo is blurred automatically.
For Portrait mode photos that are also Live Photos, you can set the depth of focus only on the default key photo.