Why can't I move a layer or frame in the timeline, I see a little box but the timeline doesn't highlight

Sometimes, seemingly randomly the timeline seems to become locked, I can’t see any reason for this, what’s going on? any help is appreciated