We have the same problem every time a family member visits. We show him a safe place to keep his meds (still in his room) and then he lines them all up on the bedside table anyway. Biggest worry is a giant bottle of sleeping tablets.
We have several little ones and they are in and out of that room all day, not least because it's also where we house bags, shoes, coats etc... DH and I keep moving the bottles up, and he keeps moving them back down. WWYD?