Behind closed doors is used to describe practices (often sexual ones) that are best-kept secret from the general public. When used to describe sex, it may mean sexual practices outside the norm or what is currently acceptable to society. It could also mean sex crimes and sex secrets that may incur condemnation from the perpetrator's peers.