Expert Mode is the completionist reward in Shadow the Hedgehog, and you unlock it by earning an A rank on every single level.
Run out of lives and you're sent back to the beginning. Not the beginning of Expert Mode as a whole, thankfully — just the start of whichever story path you were working through.
Devil Doom also gets roughly twice as powerful, and gains the ability to use Chaos Control to stop time. It's rare, appearing in about one battle in five, but it's a nasty surprise when it lands.