How the hell did coyle know where I was?

I went into a dark room and locked it then hid in a locker, he breaks down the door and immediately goes to my locker and takes me out. This only happens on Psychosurgery, I wouldn't mind it if it was consistent.