The term "locker-room" can function as both an adjective and a noun, but it is most commonly used as an adjective.
In summary, "locker-room" is an adjective that describes humor or conversations that are often crude or inappropriate, typical of what might be heard in a locker room setting. It can also refer to a certain mindset or behavior, especially in male-dominated environments.