Thats exactly what its for. It keeps the shaft still while you tighten down the nut. It helps if you have a ratcheting type wrench to run the nut down while using the allen wrench to keep the threaded shaft still.
Good Luck! Post some pics when done!