mntlock mount option

The mntlock option prevents a file system from being unmounted by an application. This option is useful for applications that do not want the file systems that the applications are monitoring to be improperly unmounted by other applications or administrators.

The mntunlock option of the umount command reverses the mntlock option if you previously locked the file system.