My son has a very expensive road bit and a fairly expensive tri bike, cyclocross bike and mountain bike. I needed to commute to a temp teaching job that was 7 miles as the crow flies or 45 minutes by public transportation. He used a bike he pulled out of the trash and carried a cable lock. No one ever bothered it sine it was a POS.
10 miles is easy, even on a crappy bike.
Save the good bikes for pleasure riding.