In their "Apple Silicon" version of their operating system, Apple has prohibited kernel extensions, including kernel extensions that are used by Antivirus.
Instead there are now "System Extensions" (/LIbrary/SystemExtensions) that come in various flavors, one of them file scanning and open interception.
https://developer.apple.com/documentation/endpointsecurity
MacOS manages the actual file access and the extension can be contained properly.