Add “−−lock-tables=false” to your mysqldump command

[server] mysqldump -uUsername -pPassword Database −−lock-tables=false | gzip > backup.bak.sql.gz

source : http://jamielesouef.com/linux/tip-backing-up-a-large-mysql-database-errno-24/