I just had the same problem with my phone getting locked with assistive touch on,
searched this forum for a quick solution & lo, I could find a thread on it, Thanks a lot.
Managed to get rid of the problem with the hard re-set, had to try it three or four times though.