I think I stumbled upon a hackish solution.
1) using AnyCut, create a shortcut to the activity "Setup Wizard"
2) run "Setup Wizard"
3) (you might have to touch the android first, then) replug the battery and turn on the device
The setup wizard apparently disables the lock and re-enables it when it finishes.