Hi, I'm Robinson, and I’m happy to help you today.
Yes, this feature works like on Linux, when you have the User Account Control(UAC) enabled you will need to give permission to the app or process to run with Administrator privileges. If a virus or malware tries to run a task with Administrator privileges you will be prompted to allow or block the action, when this prompt is shown only the user in front of the computer can allow the task.
User Account Control (UAC) helps prevent malware from damaging a PC and helps organizations deploy a better-managed desktop. With UAC, apps and tasks always run in the security context of a non-administrator account, unless an administrator specifically authorizes administrator-level access to the system. UAC can block the automatic installation of unauthorized apps and prevent inadvertent changes to system settings.
You can see more information at these links.