Thanks for the responses guys, I've seen these responses in all my research. Yes, they are valid points. However I don't want to hide it, I want it locked (okay, not me, but my wife and I have convinced her that a good hiding spot is sometimes better than a lock).

While yes, hiding is good for now when all she can do is crawl. But, when she turns 5yo, if my niece is any indication of what 5yo's do, she'll get into anything with the use of a chair or step stool, at which point a shelf is not out of reach.

Besides, I'm looking for a bedside solution and last I checked I don't have a refrigerator or china cabinet next to my bed.