lock and sleep timer added