Sometimes, Instagram stops you from liking, commenting, or following for 24 hours. They do this if your account looks like it's acting suspiciously. This is called a temporary block.