Hello there,
You can't use PHP to freeze client browser. You should use javascript instead.
Yes! you can use php to deliver that javascript file and can use some async requests.
If you tell me the full requirements, I would be able give a better solution.
Feel free to contact me :)
Best Regards