You can refer to anything that makes it difficult for you to do something as an obstacle.