When you start out as an undergraduate, your labs are fairly "cookbook" - meaning that you follow a specific set of instructions, fill out a spreadsheet (possibly one that's already prepared for you), answer some specific questions and write up a report.
As you progress, the labs become a lot more free form. By your senior year, they are a lot more the kind of thing where you're given a topic, and the basic equipment to investigate it is in the lab, but you're more-or-less on your own for what to do. At least that was my experience.
As far as actual research goes, it can vary. As an undergrad you're likely going to be doing the grunt-work of writing code, analyzing data, or running some experimental apparatus without completely knowing what it is you're doing. The further you go, the more you'll understand.
As a graduate student you get the freedom to pick your research area and supervisor. The two of you (with input from a few others) will decide on the details of your project. In some cases, you end up having to do what you're told. In others, you have a lot more freedom - to the point where many people struggle because no one is telling them what to do. You'll still do almost all of the grunt work yourself though. It will likely be a lot more interesting than first year labs though, because you're likely going to be measuring/calculating something that few, if any, have done before.