Neither the "Search existing content" help page for Teams nor the "Advanced Search Tips" Javascript toggle mentions the "Obsolete" status.
"Obsolete" is separate from "Closed", so using the closed status doesn't filter by obsolete status. Currently, searching returns both non-obsolete and obsolete questions, and as long as that's the case then obsolete is a useful status to search by.
locked:yes
(just as on SO/SE) seems to return a list of posts that have been marked obsolete. (Of course, this could change in the future, but it seems to work for now.)locked:
search parameter (though it does mention others likeclosed:
andduplicate:
). It should probably be added there.locked:
there because it is not a usable feature in any of the post management menus within Teams (though you can technically trigger a locking with manual request forging). But there is anobsolete:
search operator in Teams now.