You can switch the keyboard from English to Arabic and vice versa on a Windows PC if you enable the language bar. To do that, go to the Control Panel and open the "Regional and Language Options" control panel. Then click on the "Details" button in the "Text Services and Input Languages" section,
The following window will appear. Select the "Language Bar" button in the "Preferences" section at the bottom,
Then configure its options as you prefer,
I like to have the language bar on the task bar, so I minimize it.