Thanks SparkRite,I know you are not a customer of Vodaphone but whoever was/is can contact them for the code (which they must provide).
It does not need to be opened to enter the code.
Are you sure it is locked, have you tried a SIM from another network?
Failing that there are many other avenues open to you to unlock it.
Can you tell me the EXACT model of phone?
The person who's phone it was is no longer with us, don't have code. It's a Nokia 208