You need to get a code, known as a PUK, from one service provider to give to another when you want to change.
If there is a contract still existing between you and your service provider, or you owe thme money, they won't issue that code. Why do you think the system "no longer works"?