If you have the current version of the unlock app then there should be a options to unlock on ring and re-lock on end.
This is a good idea because it allows anyone to answer (possibly desirable if you lose the phone) and then reactivates the security when the call is done.
The current version remembers option states.