How to Set deriver key

i wanna get this result
suppose that we have an object such a cube or some thing else and a door in front of it i wanna this door open mine while the cube moving toward it (door) as i have done it at Maya without any script and easily. :rolleyes: