This machine is designed for mortising wooden doors, door frames and window frames, and can complete drilling and mortising of lock holes and lock steps in one operation. The frequency conversion control enables convenient, fast and precise adjustment of the processing dimensions of lock holes and mortises.