Jambin managed to unscrew a lightbulb from my bedside table lamp

It was one of the standard bayonet style ones, that you have to push down, then twist, then lift out. This, of course, left the power terminals at the base of the lamp exposed, and the power was turned on (because the powerpoint in under the bed, and I'm not crawling under the bed to turn the lamp off at the wall every time I use it).

I honestly thought I had adequately childproofed my house, but how can I childproof against things like that. It never occurred to me that he would figure out how to do that on his own.