Python Array Insert Value Into Row Sqlite Database Is Locked