Sounds like it to me, as his son couldn't really inadvertently "lock" and unlocked iPhone unless he synced it with the computer and restored it.
I believe you can reset the password for the lock code by syncing the phone with your computer. There should be an option in iTunes to reset the passcode.