On my D90 it's called Exposure Delay Mode in the menus. It doesn't actually lock the mirror up, it just flips the mirror up a second before the shot is taken which should allow any vibration to stop before the shot is taken.
Not sure if that option is on the D3100, but I would imagine that's...