Frame for closing an entrance