IMEI will also be listed on the device, via a sticker usually close to the SIM. Phone does not need to be connected to any network to show IMEI, the *#06* code is just an on screen representation of the hard coded IMEI.
I network locked phone should still show emergency calls only, if you not seeing that, then you have an issue with the phone finding any network, ie Antennas not connected.