how to set transforms/ rotate to 0

Is there way to make a script that sets and object xyz, tran and rotate values to 0,0,0 locally, kind of like when you reset an objects position in Unity?

// Move the object to (0, 0, 0)
transform.position = Vector3(0, 0, 0);

I thought the code listed above worked but this does world position not local. Also is there a way to set the local position to 0,0,0 over x amount of seconds.

Thanks for any help

localPosition and localEulerAngles.

–Eric

Thanks alot!