This plugin allows you to restrict player movement temporarily using events.
By default, they can move in all four, or eight, directions. By using certain plugin commands, you can "lock" certain directions if you didn't want to allow them to move in those directions.
More information and downloads available at HimeWorks