it's a common enough concept that several words have been coined; f.i.,
contranym - Definition: any word that can be its own antonym, e.g. cleave, overlook; also called antilogy, autoantonym, contronym, enantiodrome, [Janus word]
Example: Handicap is a good example of a contranym.
[dictionary.com]

(enantiodrome has a onelook number of two)

here's a local link which covers many of the aspects of this concept.

and I'll note particularly 'cleave', to save Faldage the trouble of noting it again; see the link.