Door lock requires marble to open door

Paul Myers of Opulence Mechanics designed and 3D printed this door lock. You can open the door only if you have a marble. I guess a gumball would would, too.