Call barring password is network-dependent, and usually not provided by network. You can ask your network to bar calls for you, though.
For advanced device locks, try "0000" as the default code. Don't worry though, even if you enter the wrong code, you're not the risk of locking your phone or sim card.