When I lock the Eye-Fi card, I can't snap any photos because the card is locked.
No, the camera ignores the lock setting while CHDK is running.
If you get a "card locked" message with a CHDK-prepared card, the card is NOT CHDK-bootable; so the camera starts without loading CHDK...