When my latch lock broke a spring, (not the dead bolt, but the lower latching lock), I took it apart from the inside when it locked me inside. Removing 3 screws allowed for opening the door.
I found a spring that had broken off at the hook so I used a 1/4" zip tie to lash the spring on the post it was originally hooked on. That worked fine for 12 years. To be on the safe side, I also zip tied the latch handle (the exposed part that is used to lock the door) in the unlocked position while I continued on with my life using only the upper dead bolt.
Worked fine all those years.