Put one’s nose to the grindstone

To keep busy doing one’s work.

I put my nose to the grindstone and worked all weekend on my history essay.