When you play piano, your left hand and right hand are synced. Your brain basically has a clock, so that the right hand knows that 0.3 seconds after I hit this key, I need to hit that one. And the right hand knows not to hit keys that the left hand is playing, so the hands do not collide.