to luck tables and in seperate screen do mysqldump.
Don't close out the session you issued FLUSH until dump is done. The lock will be released if session end.
The command to resume write is
© 2016, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.