Draco had decided he would be purchasing a lock picking set as soon as he returned home.  Apparently Scott kept a pin for such an occasion on his person at all times.  He explained that when their fathers were elected, Scott and Hermione had to attend a seminar on kidnapping and escaping it.  The lockpicking skills for handcuffs had caught Scott’s attention, and he learned to pick a variety of locks, like the one on the door.  Muggles were amazing.