Network unlock code

A network unlock is buy imei and directly
so u first check if ur phone is asking a unlock code and make a resquest for the code,
or an online service