Hod do I reset my lock code on my iphone from my pc?
Connect the iOS device to your computer and restore via iTunes. Place the iphone in Recovery Mode if necessary to allow the restore.
If recovery mode does not work try DFU mode.
For how to restore:
iTunes: Backing up, updating, and restoring iOS software
Retrieving data ...