The lock is not freed when downloading a zip archive of a folder from the document plugin. This is annoying because in some configurations it prevents the user to browse other pages while the download of the archive is ongoing.
This is a follow up contribution to the story
story #12404.