Text this: Near-field optical trapping with an actively locked cavity