iPhone Unlocking possibilities?

My neighbor gave me her old iphone earlier this week. It's an AT&T one and since I want to be able to plug in my own SIM card, and AT&T has a service in which they will unlock your phone, I was wondering if I could do this even though I didn't buy it. Anyway, since I've never had an iPhone before, what's the best prepaid carrier? Thanks!