This should set the timeout to 4 hours: gconftool-2 -s --type int /system/osso/dsm/locks/devicelock_autolock_timeout 240