can some one give me a brief general instruction on how to unlock samsung phones?

do u just punch in codes ( like nokia )

or do you need a wire?

or log file?

thx