I have "Beatnik" on DVD and I think the scene you are thinking about is when the bad guys lead by Rod Navarro, kidnap Susan Roces and take her to this old abandoned haunted house. Our heroes, the Beatniks, led by Dolphy and Panchito, then race to try to rescue her and the bad guys try to scare them away. It all then culminates in a big all out rumble, then the cops arrive and cart all the bad guys away.
But I think the movie you are actually thinking about is "Kalabogs and Bosyo" which was based on a comic strip which also stars Dolphy and Panchito as a couple of bungling detectives named Kalabogs and Bosyo. I distinctly remember a scene in that movie where they are in a haunted house, similar to the one in "Beatnik", and someone going "tu-ko!". I wish that was on DVD as well. If it was, I'd buy it in a heartbeat.