Syntax:
RELEASE_ALL_LOCKS()

Releases all named locks held by the current session and returns the
number of locks released (0 if there were none)

URL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html

