I see that nikon with 79 and last firmware has introduced the focus trap. The fuji x-t5 that is model corresponding in Aps-c format to Nikon Z9, should haave this feature.
How to set X-t5 to obtain the focus trap?
I would, for example, to set manually the focus at 3 meters and when a subjet enter in focus area at 3 meters of distance, the shutter takes a picture