How can I securely fasten a carriage bolt?
Lock nuts and carriage bolts are a bad combination and even worse when trying to use them in material like particle board or MDF.

You could try to use a Tee nut from the monitor side and then simply use a short hex head bolt into the Tee nut.