Remapping F12

Is there a way to remap F12 key on Windows 11 without powerkey or any other app?