To be able to remove a person from a photo you need a program that supports graphic compositing and call it as an external editor from Photos or a photo editing extension.
Removing persons I can be done for example with Inpaint, with Photoshop Elements, with the photo editing extension Affinity Retouch, or the eraser tool in Luminar.