I had a problem in the past where I had to press on the lcd screen where the magnet is to get the screen to turn on.
It's more like you had a problem with the LCD panel or the cable/connector/ccfl inverter (if it's an old laptop) which you were pressing. How pressing the magnet can bring the display to life in any reasonable way
, especially in the position in which the hall sensor does not sense it at all? Magnet is only for switching the display off, when the lid is open, hall sensor does not care is there is a magnet at all.