The beamer specification <all:0> is probably your friend.
Code
\documentclass{beamer}
\usetheme{Boadilla}
\begin{document}
\begin{frame}{Some Title}
The text before an invisible block:
\medskip
{\itshape
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.}
%
% Invisible block; see the specification <all:0>.
% ---------------------------------------
\begin{block}{Title of this block}<all:0>
Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a,
venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.
Integer tincidunt. Cras dapibus.
\end{block}
% ---------------------------------------
Some text after an invisible block.
\medskip
{\itshape
Cum sociis natoque penatibus et magnis
dis parturient montes, nascetur ridiculus mus.}
\end{frame}
\end{document}
Output

Conclusion
Now, it is easy to define this type of block. But I think it is wasting time since it suffices to add the mentioned specification to the block environment (or to any other environment accepting this kind of specifications).
But in case you really want it, you can write something like the following code.
\newenvironment{secret}[1][]%
{\begin{block}<all:0>
#1}
{\end{block}}
Now, you can call your invisible environment in a usual way \begin{secret} and \end{secret}.
\phantom{...}? – Skillmon Oct 12 '19 at 22:11