As caesar has said the magnetic locking on some cases (if in the wrong position) has been known to trip the camera and keyboard sensors - making the phone think that either the camera or keyboard is open.