Sorry I don't have anything to add to the main discussion points but I want to point out that this should NOT be limited to the canvas tag.
There are whole game engines that work on nothing but manipulating DOM elements with z-index and setting style.left and style.top. I can imagine plenty of other apps that don't use canvas that might benefit from mouselock. A mapping page. A graph exploration page. A photo viewing page.