Get a Kryptonite U lock and lock it through your front wheel and your frame. (Like [this](https://images.app.goo.gl/26ziu3DEN85gR4Ed8)) Takes a bit of practice but you’ll get the hang. Always lock to a bike rack if you can. Railings can be cut surprisingly easily.