I know it seems like a lot but early on I knew this was going to be an issue so I bought the standard power rack with pull-up/dip extensions for bench/squat/DL/SSP rotations. It is a bit of a $$$ investment so only do it if lifting is really one of your passions. The rack itself is ($250), but you have to account for the olympic barbell ($70), 4-6 45#, a couple 25#, and 10#($300), and weight holders/clips/etc ($100). Overall, you're looking at $700-$800 and a weekend of assembly.
Pros:
1.) More portable than you think.
2.) Not as loud as you'd think unless you're one of those sumo-deadlifters who drops weights. Your roommate or whoever is under you may have issues with that.
3.) You don't have to leave your room and can work out everyday in the AM.
Cons:
1.) You've committed yourself to UHaul services each time you move.
2.) $$ described above.
3.) You miss out on accessory work like hamstring work, flies, etc.
Also, don't assume gyms are closed. Most are starting to open in full capacity with low traffic which is music to any lifters ears. Just be careful though. Apparently masking has become a bit of a political issue and lifters aren't the most mask-friendly people. My gym hardly has people wearing masks, temperature checks are for namesake (employees only check you if they're up front), and not to mention blue-lives matter flags plastered around the gym.