19w02a introduced the ability to lock maps using glass panes in cartography tables. This prevents the player from making any changes to the map. However, markers (banners) can still be added or removed.
MC-141924 Locking a map removes markers