I'm having the same brob with Battleye anti-cheat software https://www.battleye.com.
I'm trying to play the game Conan Exiles it will lag and freeze the game Conan Exiles.
When starting the game I get a Battleye popup saying:
18:54:08: Starting BattlEye Service...
18:54:11: Launching game...
18:54:29: Note: File blocks can be ignored if they don't cause problems with the game.
18:54:29: [INFO] Blocked loading of file: "C:\Program Files (x86)\Stardock\Fences\FencesMenu64.dll".

Now when Battleye blocked this file it will lag and freeze the game Conan Exiles.
I don't know if it will lag any other games that use BattlEye.
When I uninstalled the Fences 4 software all the lag and freezes stopped. The game works as it should.
Stuff I tried before uninstalling Fences 4:
1- I disabled the Enable fences box under Basic options in Fences 4. Then I restarted the PC, went into the game and had the same message popup and same lag problem.
2- I disabled Startup of Fences 4 in the task manager startup tab. Then I restarted the PC, went into the game and had the same message popup and same lag problem.
3- I uninstalled Fences 4 rebooted PC then reinstalled Fences 4. Went into the game and had the same message popup and same lag problem.
The only way I got the game to run well and not have the Battleye popup was to uninstall Fences 4.
Stardock can contact Battleye to get that file whitelisted https://www.battleye.com/contact/
My system info:
Win 11 Version 10.0.22000 Build 22000
Processor: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 Mhz, 8 Core(s), 16 Logical Processor(s)
BaseBoard Product Z370M MORTAR (MS-7B54)
Installed Physical Memory (RAM) 32.0 GB
NVIDIA GeForce RTX 2060
Got the game on an NVMe drive.