Honestly, I'd run the risk and eat the $40. It seems like most iPhones screens are pretty near mint.
And everything is spiffy now but what if it breaks? If they'll even consent to repair an unlocked phone, which they probably won't because then they'd just be handing an unlocked iPhone back to you in working order, you'll have to pay for it.
So I'd do the return. They could notice the phone is unlocked when you return it and refuse you a return. The safest way to avoid this, since the 14-day return period is more or less no questions asked, really, is drain the battery all the way down before you go in so they'd have to charge it a while to even power it on to its status. They probably won't bother, at least not without processing your return and sending you on your merry way. Note also, it will look weird if you turn right around and buy another phone at the same store on the same visit. If you do that, have some excuse, like I don't like mine, but my dad loves these things and I thought I'd buy him a brand new one for his birthday, one that he could activate in his own name.
If they do catch you, ask for the store manager, and, basically, throw yourself at his/her mercy. Explain what you did and how you came to do it, that you were really just experimenting, but you like iPhone so much you want an official, supported phone on a supported plan and were even willing to pay the $40 restock fee extra to do that. Take some proof you have an ATT plan with you. They'll probably return the phone with the restock fee, because they just got an unlocked phone off the street.
As for no method of relocking, it figures. The unlocking developers, most of them, didn't do this so much as a proof-of-concept or out of some well-considered consumer-rights philosophy, but from a stick-it-to-The-Man motivation. Not that The Man doesn't deserve to have it stuck to him now and again, but if it's your primary motivation, you're not going to spend a lot of time caring how this affects the people who will use your hack/crack.
Is there a way to reverse the unlock on my iPhone?
I bought one, activated gophone and unlocked. After a couple days of usage, I liked the phone so much I figured it was worth opening an AT&T account. So I restored my iPhone and opened an account not realizing the restore did not reset the phone to default.
Now I am totally paranoid my phone will be bricked at some point even though I have att service. I'm surprised the hackers did not provide an undo, at least one I can find. I can still return it and eat another $40 restocking fee to get another but my screen is mint even though it's a 7 series. No grids, bubbles, or negative blacks.
What should I do?