I've never seen After Effects or any other program disable the Caps Lock when switching anything. The Caps Lock seems to be tied only to the keyboard. The light on the keyboard never goes off unless I hit the key again.
Maybe I wasn't clear enough. Ae, for some reason, uses Caps Lock as a way to stop refreshing the Comp window - to speed up tasks that don't require the Comp Viewer to update continously. The light of the Caps Lock stays on, but as stated: "Ae forgets that it is pressed when switching Comps". And also while making layer selections it starts refreshing unexpectedly.
I was working on a big project wih multiple compositions, all loaded with expressions. When copying and pasting expressions to mulitple layers, I have to select multiple layers, which slows down when the number of layers increases. So the Caps Lock to stop Ae from refreshing / background rendering comes in handy. But unfortunately, Ae starts to refresh and render randomly, while Caps Lock is still on.