Donald Trump could take several early actions as president that could draw legal scrutiny, including on immigration, climate, and security policy.