Get the IMEI number of the phone by pressing *#06# on your phone.
Go to http://www.nokialockcode.com/calculate.php
Enter the IMEI number and press generate.
Congrats! You have the master code. Enjoy :)
Supported Nokia Phones: 2100, 3110, 3210, 3310, 3315, 3330, 3350, 3390, 3410, 3610, 5110(i), 5130, 5190, 5210, 5510, 6080, 6110, 6130, 6138, 6150, 6190, 6210, 6250, 7110, 8210, 8250, 8290, 8850, 8855, 8890, 9110(i), 9210(i), 9290, 3100(b), 3108, 3120, 3200(b), 3220, 3230, 3300, 3360, 3510(i), 3530, 3590, 3595, 3600, 3650, 3660, 5100, 5140(i), 6020, 6021, 6100, 6101, 6108, 6200, 6220, 6230(i), 6260, 6310(i), 6500, 6510, 6590, 6600, 6610(i), 6620, 6650, 6800, 6810, 6820, 6822, 7200, 7210, 7250(i), 7260, 7270, 7280, 7600, 7610, 7650, 7700, 7710, 8310, 8390, 8800, 8910(i), 9300(i), 9500, N-Gage (QD).