Is there any way to fix autofocus after it is set? because having the camera focus before every picture will make the timelapse flicker. Setting the focus to infinity does not work, because in most situations the picture will be out of focus.
Fixed focus option is already available along with infinity, auto-focus, etc though it is not the manual focus I believe you are looking for. The reason is that this cannot be achieved with existing API, see http://stackoverflow.com/questions/23272806/set-camera-focus-at-controlled-fixed-distance-on-android
If you don't see the option, it most likely mean your phone do not supports it.