Door closes by itself

thanks for answering, my problem i’ve noticed is the physics constraint. If i remove it it does not go back to the center but i wanted to limit the rotation. how would I do to have from 0° to 90° the manual rotation z to stay?