This can be turned into a Stingray detector with an open source project from the EFF called "Rayhunter."
You do not need a data plan for this to work. It doesn't matter if it is locked or unlocked. I did this and it works as expected. No problems at all.