30 seconds should do it, it's also a good idea to disconnect the PSU from the motherboard while your doing it. Depending on the motherboard it might have a jumper you can use instead of removing the batery.
Another option is to get googling, there might be a universal password that'll unlock what ever it's set to.