That's standard practice for tech companies. Once you hand in your notice your access is cut and you'll be escorted off the premises that day.

And yet they would like a 2 weeks notice. Screw that