sounds like one of the door solinoids isn'tgoing full travel so the system then tries to open the door it won't do that so it tries to close it and it won't do that!!
my guess is it will be the pass door, the 3 door doesn't have a solinoid in the drivers door, remove the lock mechinism then oil/ free all the pivot points and it should be ok.
steve