Just make sure to still allow opening them (maybe by having to unmark them first) - maybe there are some situations in which opening a known empty field would help by getting the number revealed.
Yeah, my plan is to allow toggling a lock on the tile when right clicking it. Probably show some chains over the tile and prevent left clicking so no accidentally exploring it.