Player should move box, Ai shouldn't

So I have a gameObject (crate) that the player should be able to push left and right but in comes the Ai and starts moving it too. I want the Ai to not be able to move it at all but still be able to collide with it so it doesn’t go through it.

Any suggestions?

If you’re using NavMeshes for navigation, you could add a NavMeshObstacle to the crate.