Giving XP for picking a lock or disarming a trap would set the standard that "this is the CORRECT way to do it". That goes against the as-you-please design of the game, where bashing something is supposed to be as valid an option as picking it, and setting off a trap from a safe distance (or just barreling through it with protections... or without!) is supposed to be as valid as disarming it.