Safety block for photoelectric barrier: ensures advanced protection during operations in the protected area