\documentclass{beamer}
\usepackage{lua-ul}
\makeatletter
\RenewDocumentCommand \underLine {d<> m} {{%
\IfValueTF{#1}{%
\only<#1>{\@underLine}%
}{%
\@underLine%
}%
#2%
}}
\makeatother
\begin{document}
\begin{frame}
\underLine<2>{Only on frame 2 underlined}
\end{frame}
\end{document}