If the tablet is using Android operating system, turn it off then press Volume Up + Power Button until the Android logo appears. Enter Recovery then select Wipe data and restart the tablet. Everything will be deleted and the tablet will also be unlocked.