Its an electrically operated lock in the transmission, very similar to normal auto transmission park lock.
The i3 will prevent engagement until wheels are turning slow enough, but if it grabs early there will be some uncomfortable lurching. It also can't engage with no movement at all, so the...