Here's what you likely mean and how it works:
* Keys and Gates: Some levels in Ms. Pac-Man have keys that are scattered around the maze. These keys can be collected by Ms. Pac-Man.
* Gates: Gates are special passages that require keys to open. Once a key is collected, Ms. Pac-Man can use it to open the corresponding gate. This allows her to reach new areas of the maze or access power pellets.
Note: Keys and gates are not present in every level. They are used strategically to add variety and challenge to the gameplay.
If you're trying to find a specific key, try looking for the gate it's meant to open. The gate will usually have a symbol or design that matches the key.