The two can go hand-in-hand. There's no one-stop place to set up an if-then-else statement per se, but what you could do is set up locations and different policies.
As an example, you could set up a location with the criteria that the IP address is a certain range that would specify that the machine is "at work". Next, you set up an Application and Device Control policy that, say, blocks access to wireless NICs and USB (just as an example), and name it something easy to locate..."at work" or something.
You modify your polices so that when the machine meets the critieria for "at work", it'll use the policy for Application and Device Control that blocks the wireless card...and when the laptop is taken home, since the IP address (presumably) would be different, it would stop using the policies that you've set for "at work" and go back to using whatever the default rules are.