An area in Japan has passed legislation that requires escalator users to remain still rather than attempt to walk up or down the device.