My trunk does close, but the computer thinks it's open. Can I fix this myself? on 2006 Ford Fusion

It works fine with the key used manually, but when I use the car or key buttons it makes an awful sound.

Asked by for the 2006 Ford Fusion
Yes, most probably its the latch assembly.
This is a very expensive guess. Have it checkout by a Pro.