Chapter 3. In the starting candy room. There's a cotton candy machine in the middle. There's 3 levers on the right of it, one of which breaks off when you try to use it. Use those levers 20 times (in total) to unlock this. There is no magical combination, so it doesn't matter what order or combination you use.