Vehicles were set on fire in prison car parks outside several prisons across the country.