Added option to change lock angle

Minimum gravity sensor angle to lock can now be changed