Yes, there are airport-like security checks at the entrance to Saint Peter's Basilica. This can cause queues, especially on busy days.