In most cases, the car's door does not unlock due to lack of lubricant. Spray some WD-40 both on the key and inside of the keyhole and jerk the key back and forth to lubricate the locking mechanism. Alternatively take your car to a locksmith or an authorized mechanic to look into the issue.