Hello
Thank you for your question and reaching out.
I can understand you are having some issues \ queries related to AppLocker in Windows 10.
Please note that App Locker works on .exe or executable file's Hash or Signature , Whenever you Install WordPress you will be getting UAC prompt as during Installation its will extract installation files and try to put them and register on different locations of Windows .
Hence In your case Please check publishing rules and provide path of your WordPress installation directory when it will be going to install.
--If the reply is helpful, please Upvote and Accept as answer--