Implemented lock on face down with gravity sensor

New setting to lock the screen if the gravity sensor detects that the
device is face down