To open the seaside chest in Free Realms, you'll need to collect the full set of keys tied to a particular collection.
Once you've completed that collection, the key becomes yours and the chest is unlocked. If you're unsure which collection it belongs to, check your in-game collection log to track down the missing pieces.