An open gate signifies opportunities ahead.
A closed gate indicates obstacles which can be overcome if you succeeded in opening it.
A locked gate predicts insurmountable obstacles, unless you climbed over it or found a way around it, in which case your frustration will be temporary.
[1]