How to enter an unlocking code to Siemens phones

Model : All Siemens

1 - Switch ON your phone with a not Allowed SIM Card,
2 - Compose : *#0000*CODE#

or

1 - Switch ON your phone with a not Allowed SIM Card,
2 - Compose : *#0001*CODE#