Where does “locum tenēns” come from?

Words derived from “locum tenēns