Why would you want to freeze the display?
Any further movement would not show...o_O
There are other ways such as sound an alarm or set a flag for some other hardware.
Only thing I can offer without seeing any of your code is, if you have an update on your display, as you should for good...