NFS Services Administrator's Guide (762805-001, March 2014)

Another workaround is to force the filesystem to remain busy by opening a temporary file, so that
AutoFS cannot unmount it.
80 Configuring and administering AutoFS