How to put permissions on a folder, without inheriting the folders underneath?

FOLDER (permissions A)
---
|sub-folder (permissions B, not equal A)