You'll need your iPhone's IMEI number if you want to unlock it and use it on a different cellular provider.
Other than *67, of course, there are plenty of codes you can enter into your iPhone's dialer to get info on your bill, your ...