Does anyone else have keys & access to your vehicle that could he activating the OBC anti-theft code? Are you setting a code?
If no to the above...then loss of power as mentioned above can be the cause.
To clear this hurdle when it appears...what are you doing? Are you entering a specific code that was previously entered....or are you getting lucky and entering a random code that is working to release the vehicle to start?