I was having a really hard time closing my frunk on the model Y when I first got it, it was driving me crazy. It took me 10 to 15 tries before it'd luckily close and felt like I was going to dent it. Then I removed the panel trim in the frunk and took a look at the latch mechanism to see what's going on. I found out the latch mechanism was misaligned from factory.
All I did was loosen up the screws, make sure they're still aligned within the white half circle lines, tighten the screws, and I was able to close the frunk after hearing two clicks. If you see a small gap between the hood and your bumper after closing the frunk, just loosening up the mechanism again and move it down a bit, make sure it's leveled with the half circle lines. You can also adjust the two rubber stoppers on the frunk panel to even out the gap.
My frunk is closing fine now using the two hand method.