This command will change your head with most Minecraft blocks. You may change the block to any different one. Blocks That Do not work: Locked Chest and Armor Stand.
Where it says enter your user name here, please put your username there.
Note: Minify the command to avoid issues :)