The CDMA devices are not locked but it is up to the carrier if they will accept a device they did not sell.
Virgin Mobile is a reseller of Bell services, not a carrier in their own rights. Odds are pretty good, unless you buy into their contract and device, they will not be interested in carrying you as a pre-paid customer.