When I render i only see one layer!

When i click “Render Current Frame” or “Render Animation” I only see one layer. But if I have my cursor inside the 3D view port it will do what its suppose to and render the selected layers, but this only works for rendering a single frame. If anyone knows how to fix this or has the same problem please tell me.

do you have all layers selected before you render?

Unclick the Lock-Icon in the header bar.

%<

im not locked and i have all the layers i want selected !