Block scroll down on my WorkSheet

How could I block the user to scroll down on my worksheet?

In Excel, I was using this:

Sub blockscroll()

    Sheets("Sheet1").ScrollArea = "$A$1:$N$40"

End Sub

Now I’m porting all my work to LibreOffice,
but I have no idea how it works on Calc…
Any idea?