You'll need to call in a locksmith if you can’t access the key with needle nose pliers or a similar tool or if the lock and key refuse to return to their starting position.
If this isn’t the case, grab your WD-40 and bend the supplied application straw to a point where it can spray inside the keyway and into the crevices of the lock itself.
At this point, begin gently working the key out by moving it up and down in a steady motion. Be sure to avoid going side to side as that could cause the key to break further.
Once the key is freed, spray some more WD-40 inside to help prevent future troubles, and be sure to lubricate and clean all your locks every three to six months.