To expand on what dmahapatro said, the docs indicate:
The lock is automatically released when the transaction commits
so once you call .save()
, the lock will be released when the transaction for that save commits (typically at end of service method).
You may also want to check out these docs.