There is a limit on how long you can leave your luggage in the locker.
こんにちは!
ご質問ありがとうございます。
ご質問について、いくつか言い方が考えられますが、例えば、
There is a limit on how long you can leave your luggage in the locker.
とすると、「ロッカーに荷物を預けていられる時間には[制限があります。](https://eikaiwa.dmm.com/uknow/questions/18032/)」となります。
役に立ちそうな単語とフレーズ
there is a limit 制限がある
how long ~できる期間
leave luggage 荷物を預ける
参考になれば幸いです。