For the locks. If you have navigation, I know it's an easy config in one of the menus. It's under vehicle/door locks or something.
ON my R55 Mini Cooper, the BC would allow me to change the settings in one of the sub menus.
if you figure out the auto fogs with coding, let me know. For a mechanical solution, I know the mini cooper guys have a module that could be wired in to auto hit the Sport button. I'd assume, since it's just a momentary 'switch' contact for the Fog lights, that the the auto-sport module could be wired in for use on fog lights with a little bit of wiring.