Bolt locking back on the last round means that the rig is full stoking correctly to begin with.
Would suspect there either the mag needs to be pulled down and CLP clean, The mag spring may be on the way out such as a weak spring/ mag feed lips bent open, of something else suspect with the mag.
Also, double check to make sure that the mag release threaded section end is flush with the face of the mag release button, and that the mag is not only being retained correctly in the mag, but retained the correct height as well.
Lastly, pull all the way back on the charging handle and make sure that the face of the stops 1/4" to 1/8" in front of the back edge of the ejection port window, and that during the last inch of the CH pull, the tension does not become greater on the lash in of the pull.
If the last inch of pull becomes much harder, then suspect either hammer wedge or something in the receiver extension causing the problem, or since a carbine receiver extension in play with carbine buffer (depth of the buffer void should only be 7"), the recoil spring should only be 10.5" long.