The order, made five weeks before he hands over power to Donald Trump, does not apply to cases of terrorism or hate-motivated mass murder.