I’d assume those codes are provider/phone specific.
As for the unlock, I don’t know how that could possibly work, unless the remote is sound-activated. I’m pretty sure the microphone can’t pick up / speaker can’t emit the IR or radio frequencies used. I’m not saying it’s impossible, just that I’m skeptical.