the second level is not possible
Just walk onto the button, walk in place (Q on keyboard, A on controller), and then walk through before the gate closes, if you mess up press E (controller X) to rewind or R (controller Y) to reset