Autolock will only enable if programmed with the above sequence, it won't start doing it by itself. What year is the focus? My bet is either a loose battery terminal or a knackered battery, as this can cause the power to be interrupted to the locking system.