I'm planning on getting a line on TMobile soon, but don't want to pay the required 2yr data plan that comes with a smartphone. So let's say I get a used TMobile HTC HD2 off of Craigslist. If I unlock it myself, will the wifi work without a data plan? I'm fine not having internet access when I'm not around a wifi signal, I just want to know if wifi will still work.

Now that I think about it, do I even have to unlock it for the wifi to work without a data plan?