you might wanna check for a possible short somewhere. or have someone check it. i have a gen 5 and i had EXACT same problem as you did. i took it to my buddy at work who could prolly build a toyota anything out of scraps. he found a short somewhere close to the fuse box actually, so it was temporarily messing with the locks as yours did and mine. he fixed it and now its fine.