Door locks not working

If you can, take the door locks out and take them along with the key to a lock smith. Get them to look the over and make sure the pins are correct for the key.
Oh they turn they just didn't lock or unlock the door. There's a rod that goes from the lock down to the latch that won't stay in place because there is nothing to hold the lower end of the rod to keep it in the hole.