Any of them. If you can switch off an antigravity device, it is conceivable you could make a perpetual motion machine:
Turn the machine on.
Raise a mass.
Turn the machine off.
Let the mass fall and do work (e.g. turn a turbine)
If it took less energy to raise the mass than the work you extracted, you have perpetual motion. So if such a device exists, it must consume at least as much energy as you save in lifting the mass. It can't be a static device that can be used to e.g. shield half of a ferris wheel, because that's perpetual motion, too.
Once you start being able to create energy you coud also decrease entropy, so it really doesn't matter which laws of thermo you discuss; you'd be violating them.