A frame is a defensive concept where you use your arms or legs like a 'skeleton' against your opponent's pressure to maintain space between you and them. Instead of pushing back with muscular strength, you use skeletal alignment to efficiently deflect force.
A typical frame is when you are on the bottom in side control and place your forearm against your opponent's neck to create distance. Without this space, you cannot shrimp (hip escape) or recover guard. The frame can be considered a 'prerequisite for escapes.'
There are three conditions for a good frame: support it with bone (relying on muscle leads to fatigue), keep your elbows not too far from your body (extending your arms exposes you to joint locks like kimuras), and immediately use the space to move after creating the frame (stopping after framing is a waste of time). From white belt to black belt, the quality of framing becomes more refined as you progress.