The utility model relates to a piezoelectric ceramic assembly with safety lock set. The safety lock set is made up of a flexible lock pin and a code dialing disc component. The lock pin is arranged on a piezoelectric ceramic inner sleeve or a piezoelectric ceramic outer sleeve. The code dialing disc component comprises a disc shaft and at least one dialing disc. The disc shaft is vertical to the inner sleeve or the outer sleeve, and the dialing disc is sleeved rotatably on the disc shaft. The dialing disc is provided with a sliding slot which forms cam type cooperation with head surface of the lock pin. The sliding slot is made up of a downward pressing slide slot and a return slide slot. Inlet of the downward pressing slide slot is arranged in malposition with outlet of the return slide slot. Tail of the downward pressing slide slot contacts starting return end of the return slide slot, and the junction is provided with a return stop element which can prevent return of the lock pin along the downward pressing slide slot. An entry stop element which can prevent the downward pressing slide slot contacting piezoelectric working point is arranged in the return slide slot or exit of the return slide slot. Electric lighter or electric igniter adopting the utility model can prevent misapplication of child.