To start with, i know You measure the Kardashev scale from stellar success, but lets say we have a civilization that are vastly advanced compared to us, so they are equivalent to a type 2 civilization.
The question is, could it theoretically be possible to lock an advanced race to a planet beyond techonologytechnology by changing a lot of factors such as increasing size and density of the planet thus raising the gravity along with increasing the atmosphere to a thickness where the atmospheric drag would with our knowledge of physics be impossible to take off from the planet?