The auto-off function is a feature that has now been incorparated to comply with environmental protection regulations and is not able to be turned off.
Depending on the model of your bean to cup coffee maker, it is possible to program the switch off when not used from 15 minutes to 3 hours. Please check your instruction manual for a guide on how to program your machine.