lmms is pretty great for making beats and loops but it cant record
its not fl studio or anything but its the closest thing you cant get to it for free
if you want to record reaper has a "60 day trial" but you can still use it just fine after it "expires"
you can make beats in reaper too but its not as easy as lmms
audacity is pretty simple to use but its VERY basic, like you cant have more than one vst in track as far as i know
i also dont think it has vsti support or even a piano roll so you cant make beats or anything
you could use musescore for composing and notating but ive never used it cuz im handicapped and i cant read sheet music